Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2115876ybl; Thu, 9 Jan 2020 07:10:17 -0800 (PST) X-Google-Smtp-Source: APXvYqw+5TQ+laGXYFJx6/xdO0zDTGjSevYRhQ4kDrb0fvTKFoRC2ySoUET+lgoZyrd2UkDOH+dA X-Received: by 2002:a9d:7b51:: with SMTP id f17mr8854014oto.302.1578582617359; Thu, 09 Jan 2020 07:10:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578582617; cv=none; d=google.com; s=arc-20160816; b=Xw9WCNkgBFofpu/tvDY1UvSLiK5lYcAzXBVKi+sx+CY3E3FvUL2U68tkdK0MB25s6L A2zZ4a8IFNWBlqUqUXyWefrQKfXtOm5rliIhG+/jU0zTJC31HoVd4C4dMfCVdHzfLBln jCA3H3wb64+CSkWQAwhxyjtxlUal1ZZakIp3pC4Q2Z9cQ1D2dvugVUIuxQ38kySmfhxs vQMqOuUxXnjTa63C7lrhc7jX7AxDa5EsyBmwwmsdZkRJnEUAS0VxVIQn9giNqvy7tqV7 cps+bHUnGV//hbv9b0y96JLfzB3eC52rt5+DFrCCh5WDGE8bCLR60CJv8VM8KCqht3ym Nf+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=4XYUHLm4bUiifX/Mnj+HolmklejdFQlA2NAkclMQji4=; b=DeLGc6t6Fv5yOCyawnRUmzslYfrNOP8A/HhVsbRxnQZ+eWZplspKpiTY4N5wHm0lc9 U8mbkqY2iTUnMBa5/US1JniftBXTCcDx2pg0zzHdD82UvycZJzYjJ0nDAJJiI12fMZ+B XYjTSHDhYQ9sTUFqEAg0wZI8K1bV7k739KRi6o5h4oYDB9WTWtByfm8uP85fENZdM0u0 cr+Q7ALJ1RFngZIP6+DaehUcmsbGl4AFhYHirPQjHUqQIRdJWXfvAcSod42KjkTaCpId gFmdm3miG52ZBHPpWk1CG5vfoDHzNRnnwsAtUpzo3rt4rtQMF9yE5ZWcLAg5lJ40GJw1 3evg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9si5722109otg.58.2020.01.09.07.10.05; Thu, 09 Jan 2020 07:10:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730840AbgAIMM0 (ORCPT + 99 others); Thu, 9 Jan 2020 07:12:26 -0500 Received: from mx2.suse.de ([195.135.220.15]:60518 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730167AbgAIMMY (ORCPT ); Thu, 9 Jan 2020 07:12:24 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0E321B1FD5; Thu, 9 Jan 2020 12:12:17 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 4BA421E0798; Thu, 9 Jan 2020 13:12:16 +0100 (CET) Date: Thu, 9 Jan 2020 13:12:16 +0100 From: Jan Kara To: Randy Dunlap Cc: Michael Brunnbauer , linux-kernel@vger.kernel.org, reiserfs-devel@vger.kernel.org, Jan Kara , jeffm@suse.com Subject: Re: reiserfs broke between 4.9.205 and 4.9.208 Message-ID: <20200109121216.GC22232@quack2.suse.cz> References: <20200108193634.GA17390@netestate.de> <481c595b-46c9-0b4d-c618-a998ab6247c6@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <481c595b-46c9-0b4d-c618-a998ab6247c6@infradead.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Wed 08-01-20 15:42:58, Randy Dunlap wrote: > On 1/8/20 11:36 AM, Michael Brunnbauer wrote: > > after upgrading from 4.9.205 to 4.9.208, I get errors on two different > > reiserfs filesystems when doing cp -a (the chown part seems to fail) and > > on other occasions: > > > > kernel: REISERFS warning (device sda1): jdm-20004 reiserfs_delete_xattrs: Couldn't delete all xattrs (-95) > > > > kernel: REISERFS warning (device sdc1): jdm-20004 reiserfs_delete_xattrs: Couldn't delete all xattrs (-95) > > > > This behaviour disappeared after a downgrade to 4.9.205. > > > > I understand there have been changes to the file system code but I'm not > > sure they affect reiserfs, e.g. > > > > https://bugzilla.kernel.org/show_bug.cgi?id=205433 > > > > Any Idea? > > > > Regards, > > > > Michael Brunnbauer > > > > Looks to me like 4.9.207 contains reiserfs changes. > > Adding CC's. Looks like a regression from commit 60e4cf67a582 "reiserfs: fix extended attributes on the root directory". We are getting -EOPNOTSUPP from reiserfs_for_each_xattr() likely originally from open_xa_root(). Previously we were returning -ENODATA from there which error reiserfs_for_each_xattr() converted to 0. I don't understand reiserfs xattrs enough to quickly tell what should actually be happening after the Jeff's change - naively I'd think we should just silence the bogus warning in case of EOPNOTSUPP. Jeff, can you have a look? Also Michael, I'd like to clarify: Does 'cp -a' return any error or is it just that the kernel is spewing these annoying warnings? Because from the code reading I'd think that it is only the kernel spewing errors but userspace should be fine... Honza -- Jan Kara SUSE Labs, CR