Re: [PATCH 0/5] Support case insensitive filesystems in NFSv4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 03, 2022 at 08:11:57PM +0000, Trond Myklebust wrote:
> On Mon, 2022-01-03 at 15:08 -0500, J. Bruce Fields wrote:
> > On Fri, Dec 17, 2021 at 03:36:53PM -0500, trondmy@xxxxxxxxxx wrote:
> > > From: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
> > > 
> > > Add support for detecting an export of a case insensitive
> > > filesystem in
> > > NFSv4. If that is the case, then we need to adjust the dentry
> > > caching
> > > and invalidation rules to ensure that we don't inadvertently end up
> > > caching other case folded aliases after an operation that results
> > > in a
> > > directory entry name change.
> > 
> > What server and configuration are you testing this against?
> 
> Ours.

You mean, hammerspace?

> Why?

Partly just curiousity.  Partly I thought we'd previously been trying to
add features on server and client side together when it makes sense, if
only to make it possible to test without access to proprietary software.

I don't actually have a strong opinion on the policy, but if this *is* a
change in policy then it's worth mentioning.

There should be other exportable filesystems supporting those attributes
so the work to export them on the server side wouldn't be a whole lot.
(But I can't volunteer.)

--b.

> > > 
> > > Trond Myklebust (5):
> > >   NFSv4: Add some support for case insensitive filesystems
> > >   NFSv4: Just don't cache negative dentries on case insensitive
> > > servers
> > >   NFS: Invalidate negative dentries on all case insensitive
> > > directory
> > >     changes
> > >   NFS: Add a helper to remove case-insensitive aliases
> > >   NFS: Fix the verifier for case sensitive filesystem in
> > >     nfs_atomic_open()
> > > 
> > >  fs/nfs/dir.c              | 41 +++++++++++++++++++++++++++++++++--
> > > ----
> > >  fs/nfs/internal.h         |  1 +
> > >  fs/nfs/nfs4proc.c         | 13 +++++++++++--
> > >  fs/nfs/nfs4xdr.c          | 40
> > > ++++++++++++++++++++++++++++++++++++++
> > >  include/linux/nfs_fs_sb.h |  2 ++
> > >  include/linux/nfs_xdr.h   |  2 ++
> > >  6 files changed, 91 insertions(+), 8 deletions(-)
> > > 
> > > -- 
> > > 2.33.1
> 
> -- 
> Trond Myklebust
> Linux NFS client maintainer, Hammerspace
> trond.myklebust@xxxxxxxxxxxxxxx
> 
> 



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux