mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 00/11] nfsd: various delegated timestamp fixes
@ 2026-11-20 16:40 Jeff Layton
  2026-11-20 16:40 ` [PATCH 01/11] nfsd: don't hold inode_lock while waiting for a delegation in nfsd_setattr() Jeff Layton
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Jeff Layton @ 2026-11-20 16:40 UTC (permalink / raw)
  To: Chuck Lever, NeilBrown, Olga Kornievskaia, Dai Ngo, Tom Talpey,
	Christian Brauner
  Cc: linux-nfs, linux-kernel, Jeff Layton

While working on a rework of knfsd's delegated timestamp support, LLM
review pointed out a few bugs in the existing code. This patchset
is a pile of fixes for those issues.

The rework of the delegated timestamps is still a WIP, but these should
be able to go in ahead of that.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
Jeff Layton (11):
      nfsd: don't hold inode_lock while waiting for a delegation in nfsd_setattr()
      nfsd: take freeze protection before updating delegation timestamps
      nfsd: count a delegation in cl_delegs_in_recall only once
      nfsd: don't grant write delegations to NFSv4.0 clients on CLAIM_PREVIOUS
      nfsd: set ctime when a SETATTR with delegated times changes other attributes
      nfsd: pin the client while a GETATTR holds a conflicting delegation
      nfsd: recall when a CB_GETATTR reply omits the size
      nfsd: apply delegated times in a separate times-only setattr
      nfsd: grant a plain read delegation when timestamps are wanted on a read open
      nfsd: check fi_had_conflict under deleg_lock before hashing a delegation
      nfsd: take the write delegation grant stat before hashing

 fs/nfsd/nfs4callback.c |   1 +
 fs/nfsd/nfs4proc.c     | 165 +++++++++++++++++++++-----------
 fs/nfsd/nfs4state.c    | 249 +++++++++++++++++++++++++++++++++++++------------
 fs/nfsd/nfs4xdr.c      |  55 +++++------
 fs/nfsd/state.h        |   2 +
 fs/nfsd/vfs.c          |  56 +++++------
 fs/nfsd/vfs.h          |   1 +
 fs/nfsd/xdr4.h         |   3 +
 8 files changed, 365 insertions(+), 167 deletions(-)
---
base-commit: 8489270d1cb9568fc88f3cda4626a19807300d77
change-id: 20261120-delegts-fixes-798331d91d8f

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>


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

end of thread, other threads:[~2026-11-20 16:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 16:40 [PATCH 00/11] nfsd: various delegated timestamp fixes Jeff Layton
2026-11-20 16:40 ` [PATCH 01/11] nfsd: don't hold inode_lock while waiting for a delegation in nfsd_setattr() Jeff Layton
2026-11-20 16:40 ` [PATCH 02/11] nfsd: take freeze protection before updating delegation timestamps Jeff Layton
2026-11-20 16:40 ` [PATCH 03/11] nfsd: count a delegation in cl_delegs_in_recall only once Jeff Layton
2026-11-20 16:40 ` [PATCH 04/11] nfsd: don't grant write delegations to NFSv4.0 clients on CLAIM_PREVIOUS Jeff Layton
2026-11-20 16:40 ` [PATCH 05/11] nfsd: set ctime when a SETATTR with delegated times changes other attributes Jeff Layton
2026-11-20 16:40 ` [PATCH 06/11] nfsd: pin the client while a GETATTR holds a conflicting delegation Jeff Layton
2026-11-20 16:40 ` [PATCH 07/11] nfsd: recall when a CB_GETATTR reply omits the size Jeff Layton
2026-11-20 16:40 ` [PATCH 08/11] nfsd: apply delegated times in a separate times-only setattr Jeff Layton
2026-11-20 16:40 ` [PATCH 09/11] nfsd: grant a plain read delegation when timestamps are wanted on a read open Jeff Layton
2026-11-20 16:40 ` [PATCH 10/11] nfsd: check fi_had_conflict under deleg_lock before hashing a delegation Jeff Layton
2026-11-20 16:40 ` [PATCH 11/11] nfsd: take the write delegation grant stat before hashing Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®