Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2734260ybl; Mon, 20 Jan 2020 08:22:05 -0800 (PST) X-Google-Smtp-Source: APXvYqzamflzVKnT0gt/8mwGpHBGlUJSPiFpeHnFq9PXkbS1FQ6mgbzNKSYGKqyOmbYDzZAoF6xy X-Received: by 2002:a9d:62c2:: with SMTP id z2mr129622otk.309.1579537325312; Mon, 20 Jan 2020 08:22:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579537325; cv=none; d=google.com; s=arc-20160816; b=d+Ypj2l//z58CsISMLqW+p2jf44hDzENBfpOcZdN+1gC3meYj1uLA4kBHD8HnmoA2Z tz/UbDMPasb6aTh2uPmoJxr/jWNQZ7RfEeV1xhfKaoiP0ikTkAtPorBKk7dv1ThLmydJ g0IBCY02mwZ8WLpnytdm5g9KUaRdB7LRYFqQCLYHrvWg2Zzd+TaaajxPaTjfwQQYwWB9 jfxoj52vIMPVCJXpd3HX0vnWXaiR/0BaxCNnFly5wO6I31LQTiFzJyDfAqV+WVoLnt8J Ueg+7yMmsQl8CyZrfTY+hn6ZGDIbGIzddTdokXejom+9jnaOf0NYZEHw5ELD0p8Y2Ysu VvGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=yD6Jh4jGsnCQ+Wd2BowqCIUsqGpMpXVmEylVLB6wecc=; b=Mqs3zFvRHW7oj9a7uNegeHca7xUrGw2wa2fIpXH1iBURSDxj9rQWVwyaRrtkWKNA9x 2fx70QVlB9vsO9vjQ1TUDoUkocdBUF1YbylUkR3tRc9FyoTpsSSR4/hjiZp1ovaX//rd imyOHQEUPc9NuzTaG3RzLhRw69EbVs1wiK6eomzv0yRQIK5rLMM91x3z1FRbqinh/jN4 IQfi+q8Ly0/L3GntwutzoYUZ6s+rtHphi9hX9rYrboBOorWI/bJbJnkyHDuyGAm0P5cj tIzSuXYPJWUQ++IjgHJyzr2dghPgJ6JK8RJoWJkS5Hy49A3fGd/vP6Gzq2QSj5pc+P3Z aHXg== 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 m8si17505011oic.163.2020.01.20.08.21.52; Mon, 20 Jan 2020 08:22:05 -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 S1729121AbgATQUv (ORCPT + 99 others); Mon, 20 Jan 2020 11:20:51 -0500 Received: from mx2.suse.de ([195.135.220.15]:42376 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729045AbgATQUv (ORCPT ); Mon, 20 Jan 2020 11:20:51 -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 1715BAE8C; Mon, 20 Jan 2020 16:20:49 +0000 (UTC) Subject: Re: reiserfs broke between 4.9.205 and 4.9.208 To: Byron Stanoszek Cc: linux-kernel@vger.kernel.org References: From: Jeff Mahoney Organization: SUSE Labs Data & Performance Message-ID: <4c36762f-1fa7-01a9-868c-e3deeaa10fa3@suse.com> Date: Mon, 20 Jan 2020 11:20:46 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sjPuTMLKU0tHcirru48NnQUFQPTOfw74D" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --sjPuTMLKU0tHcirru48NnQUFQPTOfw74D Content-Type: multipart/mixed; boundary="aufVKgB8PG1Tl2Jo6yNwUHtkIQyE9MSAI" --aufVKgB8PG1Tl2Jo6yNwUHtkIQyE9MSAI Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 1/20/20 10:03 AM, Byron Stanoszek wrote: > 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 differ= ent >>>>> reiserfs filesystems when doing cp -a (the chown part seems to >>>>> fail) and >>>>> on other occasions: >>>>> >>>>> =C2=A0kernel: REISERFS warning (device sda1): jdm-20004 >>>>> reiserfs_delete_xattrs: Couldn't delete all xattrs (-95) >>>>> >>>>> =C2=A0kernel: 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. >>>>> >>>>> =C2=A0https://bugzilla.kernel.org/show_bug.cgi?id=3D205433 >>>>> >>>>> 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 exten= ded >>> 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?=C2=A0 Becaus= e >>> 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 >=20 > Hi Jeff, >=20 > Can you share the patch with us for testing? I haven't seen this hit > mainline > yet. Sure. I posted it to the reiserfs-devel list last week and Jan Kara pulled it into his tree for submission to mainline. It's in linux-next: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi= t/fs/reiserfs?id=3D394440d469413fa9b74f88a11f144d76017221f2 -Jeff --=20 Jeff Mahoney Director, SUSE Labs Data & Performance --aufVKgB8PG1Tl2Jo6yNwUHtkIQyE9MSAI-- --sjPuTMLKU0tHcirru48NnQUFQPTOfw74D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE8wzgbmZ74SnKPwtDHntLYyF55bIFAl4l014ACgkQHntLYyF5 5bIKCA//WBZlPdTHYsb2KLyzY4HrXWgaghkoPvK9oglsEL5DjxGBAKEBLKSnRvkh 6Yx1Lcr2Wt8KbFTMF5KvOTUayd893xMNmPKHE91FZnJlq1rnvhjG7zZ/mdq8JwD6 EKLmVTMibsvVuZF0P9Z5qTU/3u1CijKCUnTrKcuB8IrQxjooQlRMYX3Av+fcljy7 Ciy5gri7zT3WQ2pr9ZezbNzB95T0RDfGRs4R7Zh8v+lmV9HrpivW1yWdX+0xEd++ Wj3eUBeED+Ctfr7iCK8HaG7nY7ymwbrRSQF0WCAvi/gcBy764HGaIB4ZrSuEfvfC DfGFtJy4VAzpmeU25fDkePJD2HKBp0bWVoeTe8avO4ciuInqnad9A9Oi9JAQp7+U nzsfGyJxKhpz0sNMIz4zKfcNfz9m0UiKBxyN6kldhyhKj1gHFMb6pVavGE//l/+C JOK2+qDAN8uhNx/76Xk46ZcArzJXmPryPKT5y/FvUHTwErhuXfPUENU5ZxFyFvpq TULNtGT0d1djr6b1+OX6l3veW5uz+mIJisI/WwxQLSRGN+0UfxkkPP/YZDj2+Sfc MzWd+1U/0d16C5Yvz1xE2Lm3wjssojtB6TJ6rVn/XdmeEHz7Igd022F38x2O/4Iu d/Cw6VkFCt8qT+uW7+eB7GqCdNC7tnutRJbqMs0I/OOXAaTNyEQ= =vhfi -----END PGP SIGNATURE----- --sjPuTMLKU0tHcirru48NnQUFQPTOfw74D--