Skip to content

nfsd: more fixes for delegated timestamp issues

Jeff Layton linux-nfs 1 version In review

Get series with b4
b4 am [email protected] change-id 20261202-delegts-fixes-ca2a66e7d92b

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5nfsd: skip the owner check when CB_GETATTR applies delegated timesfs/nfsd/nfs4state.c+6 -00 replies
2/5nfsd: report vetted delegated times in GETATTR repliesfs/nfsd/nfs4xdr.c+0 -60 replies
3/5nfsd: don't reapply unchanged CB_GETATTR timesfs/nfsd/nfs4state.c fs/nfsd/state.h+82 -50 replies
4/5nfsd: check for unchanged CB_GETATTR times under the shared inode_lockfs/nfsd/nfs4state.c+16 -10 replies
5/5nfsd: apply delegated times from CB_GETATTR when change and size matchfs/nfsd/nfs4proc.c fs/nfsd/nfs4state.c+22 -20 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/5] nfsd: more fixes for delegated timestamp issues

This fixes some problems with delegated timestamps that cause some pynfs tests to fail (in particular DELEG27 and the new, as-yet unmerged DELEG30 and DELEG31 tests).

I'm still looking at a rework of the delegated timestamp handling to not use FMODE_NOCMTIME, but for now I thought it best to fix up the known bugs as best we can first.

It would be nice to see this in v7.6.

---
Jeff Layton (5):
nfsd: skip the owner check when CB_GETATTR applies delegated times
nfsd: report vetted delegated times in GETATTR replies
nfsd: don't reapply unchanged CB_GETATTR times
nfsd: check for unchanged CB_GETATTR times under the shared inode_lock
nfsd: apply delegated times from CB_GETATTR when change and size match

 fs/nfsd/nfs4proc.c  |   8 ++++
 fs/nfsd/nfs4state.c | 119 +++++++++++++++++++++++++++++++++++++++++++++++++---
 fs/nfsd/nfs4xdr.c   |   6 ---
 fs/nfsd/state.h     |   3 ++
 4 files changed, 124 insertions(+), 12 deletions(-)

---
base-commit: b2daead2d7c04ad2dd2fc0ad06a130925bb18fcb
change-id: 20261202-delegts-fixes-ca2a66e7d92b

Best regards,

Signature · 1 line
Jeff Layton <[email protected]>