Skip to content

Fix verifier initialisation races for dentries

Trond Myklebust linux-nfs llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3NFS: Initialise verifiers for visible dentries in readdir and lookupfs/nfs/dir.c+4 -20 replies
2/3NFS: Initialise verifiers for visible dentries in nfs_atomic_open()fs/nfs/dir.c+1 -10 replies
3/3NFS: Initialise verifiers for visible dentries in _nfs4_open_and_get_statefs/nfs/nfs4proc.c+14 -132 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Fix verifier initialisation races for dentries

From: Trond Myklebust <[email protected]>

Michael Stoler reports seeing an issue in which an uninitialised verifier on a dentry is causing an incorrect revalidation. This again is causing him to see a removed file as being still present during an exclusive create.
The fix should be to ensure that all verifiers are initialised before calling d_splice_alias().

Trond Myklebust (3):
NFS: Initialise verifiers for visible dentries in readdir and lookup
NFS: Initialise verifiers for visible dentries in nfs_atomic_open()
NFS: Initialise verifiers for visible dentries in
_nfs4_open_and_get_state

 fs/nfs/dir.c      |  8 +++++---
 fs/nfs/nfs4proc.c | 27 ++++++++++++++-------------
 2 files changed, 19 insertions(+), 16 deletions(-)
Signature · 1 line
2.51.1