Thread (22 messages) 22 messages, 4 authors, 2026-04-23

Re: [PATCH v9 10/17] cifs: Implement fileattr_get for case sensitivity

From: "Chuck Lever" <cel@kernel.org>
Date: 2026-04-23 01:36:10
Also in: linux-cifs, linux-ext4, linux-f2fs-devel, linux-fsdevel, linux-nfs, linux-xfs

On Wed, Apr 22, 2026, at 8:59 PM, Steve French wrote:
Acked-by: Steve French <redacted>

Do you know which xfstests this would enable?  IIRC a few of them
depend on the fs supporting fileattr_get
Thanks for the Ack.

I checked the current xfstests tree and couldn’t find a test that flips
from notrun to run on cifs just from adding ->fileattr_get. generic/556
is the existing case-folding test, but _has_casefold_kernel_support in
common/casefold hard-codes ext4/f2fs/tmpfs. Enabling it on cifs would
need a new mechanism in common/casefold plus a mount-option-driven
variant (the cifs reporting keys off nocase, not a per-inode flag), so
that's a separate piece of work.

The practical effect on the existing suite is that fsstress's getattr_f
now returns success instead of ENOTTY on cifs, which quiets some noise
but doesn't gate any test. To actually exercise the new FS_XFLAG_CASEFOLD
reporting I think a new test (or a generalization of generic/556) would
have to be written.


-- 
Chuck Lever
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help