reiserfs broke between 4.9.205 and 4.9.208
Quoted 46 lines · Jeff Mahoney
Quoted 40 lines · Jan Kara
Hello,
Quoted 18 lines · Randy Dunlap
Quoted 17 lines · Michael Brunnbauer
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?
Quoted 8 lines
Quoted 4 lines
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-EOPNOTSUPPfromreiserfs_for_each_xattr()likely originally fromopen_xa_root(). Previously we were returning-ENODATAfrom there which errorreiserfs_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?Quoted 4 lines
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...
Quoted 5 lines
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
Quoted 61 lines · Byron Stanoszek
Quoted 60 lines · Jeff Mahoney
Quoted 48 lines · Jan Kara
Hello,
Quoted 22 lines · Randy Dunlap
Quoted 21 lines · Michael Brunnbauer
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?
Quoted 8 lines
Quoted 4 lines
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-EOPNOTSUPPfromreiserfs_for_each_xattr()likely originally fromopen_xa_root(). Previously
we were returning-ENODATAfrom there which errorreiserfs_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?Quoted 6 lines
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.
Quoted 7 lines
Quoted 1 line
-Jeff
Hi Jeff,
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:
-Jeff
Signature · 2 lines
Jeff Mahoney Director, SUSE Labs Data & Performance