Linux NFS development
 help / color / mirror / Atom feed
* [PATCH 0/2] cleanups in nfs4reovery.c
@ 2025-09-08  1:38 NeilBrown
  2025-09-08  1:38 ` [PATCH 1/2] nfsd: move name lookup out of nfsd4_list_rec_dir() NeilBrown
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: NeilBrown @ 2025-09-08  1:38 UTC (permalink / raw)
  To: Chuck Lever, Jeff Layton
  Cc: Olga Kornievskaia, Dai Ngo, Tom Talpey, linux-nfs

This first of these patchs is part of my work to change how directory
locking is managed.  That will involve moving the lock as close as possible
to the operation being locked, and using some standard interfaces 
which combine the lock and the lookup.  Then changing the mechanics of
taking a lock.

nfsd4_list_rec_dir() currenty locks a direct and performs a lookup
in a different function to where the lock and lookup results are needed,
and does it even when those are not needed at all.  So the first
patch moves the lock and lookup to where it is needed.

The second patch (arguably) improves the calling protocol for
nfs4_client_to_reclaim().  If people don't like this second patch I'm
happy for it to be dropped.  It is the first patch which is particularly
important to me.

Thanks,
NeilBrown


 [PATCH 1/2] nfsd: move name lookup out of nfsd4_list_rec_dir()
 [PATCH 2/2] nfsd: change nfs4_client_to_reclaim() to allocate data

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-08 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08  1:38 [PATCH 0/2] cleanups in nfs4reovery.c NeilBrown
2025-09-08  1:38 ` [PATCH 1/2] nfsd: move name lookup out of nfsd4_list_rec_dir() NeilBrown
2025-09-08  1:38 ` [PATCH 2/2] nfsd: change nfs4_client_to_reclaim() to allocate data NeilBrown
2025-09-08 14:36 ` [PATCH 0/2] cleanups in nfs4reovery.c Chuck Lever
2025-09-08 19:40 ` Jeff Layton
2025-09-08 20:02   ` Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox