[PATCH v2 0/1] Allow FREE_STATEID to free delegations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux