mbox series

[0/2] Embryonic support for case insensitive filesystems

Message ID 20210626160956.323472-1-trond.myklebust@hammerspace.com (mailing list archive)
Headers show
Series Embryonic support for case insensitive filesystems | expand

Message

Trond Myklebust June 26, 2021, 4:09 p.m. UTC
From: Trond Myklebust <trond.myklebust@hammerspace.com>

The following patchset adds limited support for case insensitive
filesystems to NFSv4. It adds the ability to detect such filesystems,
and then turns off negative dentry caching. The reason is that we don't
know which filenames in the dentry cache are actually case folded
synonyms, so we need to ensure that we revalidate those negative
dentries even for the case where our client created the file or
directory.

Trond Myklebust (2):
  NFSv4: Add some support for case insensitive filesystems
  NFSv4: Just don't cache negative dentries on case insensitive servers

 fs/nfs/dir.c              |  3 +++
 fs/nfs/nfs4proc.c         |  8 +++++++-
 fs/nfs/nfs4xdr.c          | 40 +++++++++++++++++++++++++++++++++++++++
 include/linux/nfs_fs_sb.h |  2 ++
 include/linux/nfs_xdr.h   |  2 ++
 5 files changed, 54 insertions(+), 1 deletion(-)