Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2668800ybl; Mon, 20 Jan 2020 07:14:08 -0800 (PST) X-Google-Smtp-Source: APXvYqwsgb7v26vvIBm55+x4gL8mHeiB7NIdERRxpFc/OO384mX+gCEPZvTYylSK1qcj81fZ54pR X-Received: by 2002:a05:6830:1442:: with SMTP id w2mr16898549otp.143.1579533247862; Mon, 20 Jan 2020 07:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579533247; cv=none; d=google.com; s=arc-20160816; b=ftwUErotvMPdHunzVY2RGb8fz91Gmw81dVT8x7T4GbiO9oNmSmr5HVHeuM1w36kUGF JYizrz9hf6m6JDj7Izsdjkgg3qTLiJoFjaVxKYBVp2w62yWBHDATrANUGok6TSwbh/LE RxI8gNiBrGfrnXEzn2IaeCkjLAcT3r7yOkf0D3E0c4L1/e5MJlIuw7jKHXAogsfFsS3g hkqTPmtPu+CsYhU40jMs3JZyY9n/NUJzGm0w/xDp8SFUI4WmKsA8/eBmHn6ujY5sRTu5 P15+RPLs+JOT3P/AuqgFkuuGVqm23D+D4xAHTJ3nmtQ2mXBg7B7gQWTtij5POq7i5a5I t4Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=kNT2dTP4N9SPZGSCXnPVoXeGr0Ea55rTWXm+JEItRE8=; b=DrEIFnrnQVhWuplM0ePotLyYxND12ap7zIUK1SPAd1sMzvvTye+WqghOYyWq9kpkbF RLolVgUoXqrION5EeUVqpylHVh7YbnwjnTcXUf2PZb6CLrOoEDsa0aEkV36kHHVoEJtI WTixVwrEnBLJOANIp0FrDVtH3H1r5bzLk9slZRkBjq9TEG1LwqeQlyaLFQJntgNbSMyJ tKngznpAXsUJmAscQy6+8IfmtAcyTCca9+waoRxjhHs4ArLrM5j7TSXODvhZSVOMGrmp uKtkoZ1G9SBYcfn0vvLbpVLKVzRx5hqdMtt5ArVsvOyqnG9/DV8X/D9j03OUbAP2dDD6 YEpQ== 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 h125si17380048oia.253.2020.01.20.07.13.45; Mon, 20 Jan 2020 07:14:07 -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 S1728093AbgATPMz (ORCPT + 99 others); Mon, 20 Jan 2020 10:12:55 -0500 Received: from winds.org ([68.75.195.9]:44646 "EHLO winds.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbgATPMz (ORCPT ); Mon, 20 Jan 2020 10:12:55 -0500 X-Greylist: delayed 566 seconds by postgrey-1.27 at vger.kernel.org; Mon, 20 Jan 2020 10:12:54 EST Received: by winds.org (Postfix, from userid 100) id A14705561B9; Mon, 20 Jan 2020 10:03:27 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by winds.org (Postfix) with ESMTP id 9ED7628F44; Mon, 20 Jan 2020 10:03:27 -0500 (EST) Date: Mon, 20 Jan 2020 10:03:27 -0500 (EST) From: Byron Stanoszek To: jeffm@suse.com cc: linux-kernel@vger.kernel.org Subject: Re: reiserfs broke between 4.9.205 and 4.9.208 Message-ID: User-Agent: Alpine 2.21.1 (LNX 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 15 Jan 2020, Jeff Mahoney wrote: >On 1/9/20 7:12 AM, Jan Kara wrote: >> >> 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... > >This error occurs when extended attributes are not enabled on the file >system *and* the module is not built with extended attributes enabled. >I've sent out the fix for it just now. > >-Jeff Hi Jeff, Can you share the patch with us for testing? I haven't seen this hit mainline yet. Thanks, -Byron