All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Allow FREE_STATEID to free delegations
@ 2025-05-01 12:29 Benjamin Coddington
  2025-05-01 12:29 ` [PATCH v2 1/1] NFSv4: Allow FREE_STATEID to clean up delegations Benjamin Coddington
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Coddington @ 2025-05-01 12:29 UTC (permalink / raw)
  To: Trond Myklebust, Anna Schumaker, Jeff Layton; +Cc: linux-nfs

A problem observed for some clients is that the list of
nfs_server->delegations can grow unweildy, leading to the clients spinning
in tight loops walking across delegations that have been marked revoked.
These two patches attempt to solve that problem by using the result of
FREE_STATEID to clean up the list of delegations which keeps that list
pruned to an operable size.

Changes on v2:
	- dropped the first patch which was unnecessary
	- add the FREED_STATEID case to nfs41_test_and_free_expired()

Benjamin Coddington (1):
  NFSv4: Allow FREE_STATEID to clean up delegations

 fs/nfs/delegation.c  | 25 ++++++++++++++++++-------
 fs/nfs/nfs4_fs.h     |  3 +--
 fs/nfs/nfs4proc.c    | 12 ++++++------
 include/linux/nfs4.h |  1 +
 4 files changed, 26 insertions(+), 15 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2025-05-01 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-01 12:29 [PATCH v2 0/1] Allow FREE_STATEID to free delegations Benjamin Coddington
2025-05-01 12:29 ` [PATCH v2 1/1] NFSv4: Allow FREE_STATEID to clean up delegations Benjamin Coddington
2025-05-01 15:03   ` Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.