From: Chuck Lever <chuck.lever@xxxxxxxxxx> On Mon, 08 Sep 2025 11:38:31 +1000, NeilBrown wrote: > 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. > > [...] Applied to nfsd-testing, thanks! [1/2] nfsd: move name lookup out of nfsd4_list_rec_dir() commit: 80803596e1719e88e81401e67e06245cd1133a20 [2/2] nfsd: change nfs4_client_to_reclaim() to allocate data commit: 1a65d347afe90f3ed49e23b7421821a3729f8bfe -- Chuck Lever