Skip to content

Fix NFSv4 lookup revalidation

Qian Lu stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4NFS: Fix dentry revalidation on NFSv4 lookupfs/nfs/nfs4proc.c+12 -30 replies
2/4NFS: Refactor nfs_lookup_revalidate()fs/nfs/dir.c+126 -960 replies
3/4NFSv4: Fix lookup revalidate of regular filesfs/nfs/dir.c+39 -400 replies
4/4NFS: Remove redundant semicolonfs/nfs/dir.c+1 -11 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] Fix NFSv4 lookup revalidation

Hello Greg,

Can you please consider including the following patches in the stable linux-4.14.y branch?

The following patch series attempts to address the issues raised by Stan Hu around NFSv4 lookup revalidation.

The first patch in the series should, in principle suffice to address the exact issue raised by Stan, however when looking at the implementation of nfs4_lookup_revalidate(), it becomes clear that we're not doing enough to revalidate the dentry itself when performing NFSv4.1 opens either.

Trond Myklebust (3):
NFS: Fix dentry revalidation on NFSv4 lookup
NFS: Refactor nfs_lookup_revalidate()
NFSv4: Fix lookup revalidate of regular files

zhangliguang (1):
NFS: Remove redundant semicolon

 fs/nfs/dir.c      | 295 ++++++++++++++++++++++++++++++------------------------
 fs/nfs/nfs4proc.c |  15 ++-
 2 files changed, 174 insertions(+), 136 deletions(-)
Signature · 1 line
2.15.3.AMZN