Skip to content

Fix update_changeattr

Trond Myklebust linux-nfs 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4NFSv4: Call update_changeattr() from _nfs4_proc_open only if a file was createdfs/nfs/nfs4proc.c+2 -10 replies
2/4NFSv4: Don't apply change_info4 twice on rename within a directoryfs/nfs/nfs4proc.c+5 -20 replies
3/4NFSv4: Don't call update_changeattr() unless the unlink is successfulfs/nfs/nfs4proc.c+2 -10 replies
4/4NFSv4: update_changeattr should update the attribute timestampfs/nfs/nfs4proc.c+13 -80 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Fix update_changeattr

Several of the calls to update_changeattr() are causing the directory attribute cache to be flushed in cases where it simply isn't neccessary.

---
v2: add patch to update the directory attribute cache timestamp

Trond Myklebust (4):
NFSv4: Call update_changeattr() from _nfs4_proc_open only if a file
was created
NFSv4: Don't apply change_info4 twice on rename within a directory
NFSv4: Don't call update_changeattr() unless the unlink is successful
NFSv4: update_changeattr should update the attribute timestamp

 fs/nfs/nfs4proc.c | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)
Signature · 1 line
2.9.3