All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] nfsd: close potential race between open and delegation
@ 2022-07-14 20:04 Jeff Layton
  2022-07-14 20:04 ` [PATCH 1/2] nfsd: drop fh argument from alloc_init_deleg Jeff Layton
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jeff Layton @ 2022-07-14 20:04 UTC (permalink / raw)
  To: chuck.lever; +Cc: neilb, linux-nfs

This is a respin of the patchset that I sent earlier today. I hit a
deadlock with that one because of the ambiguous locking.

This series is based on top of Neil's set entitled:

    [PATCH 0/8] NFSD: clean up locking.

His patchset makes the locking in the nfsd4_open codepath much more
consistent, and this becomes a lot simpler to fix. Without that set
however, the state of the parent's i_rwsem is unclear after nfsd_lookup
is called, and I don't see a way to determine it reliably.

Jeff Layton (2):
  nfsd: drop fh argument from alloc_init_deleg
  nfsd: vet the opened dentry after setting a delegation

 fs/nfsd/nfs4state.c | 54 +++++++++++++++++++++++++++++++++++++--------
 1 file changed, 45 insertions(+), 9 deletions(-)

-- 
2.36.1


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

end of thread, other threads:[~2022-07-25  4:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 20:04 [PATCH 0/2] nfsd: close potential race between open and delegation Jeff Layton
2022-07-14 20:04 ` [PATCH 1/2] nfsd: drop fh argument from alloc_init_deleg Jeff Layton
2022-07-14 20:04 ` [PATCH 2/2] nfsd: vet the opened dentry after setting a delegation Jeff Layton
2022-07-14 23:59 ` [PATCH 0/2] nfsd: close potential race between open and delegation NeilBrown
2022-07-15 11:32   ` Jeff Layton
2022-07-18  3:21     ` NeilBrown
2022-07-18 11:16       ` Jeff Layton
2022-07-18 14:31       ` Chuck Lever III
2022-07-25  4:46         ` NeilBrown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.