Allow FREE_STATEID to free delegations
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest1 patch 1 replyIn review
- v12 patches 7 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | NFSv4: Allow FREE_STATEID to clean up delegationsfs/ fs/ fs/ +1 more | +26 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Jeff Layton |
|---|---|
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/1] Allow FREE_STATEID to free delegations
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(-)
Signature · 1 line
2.47.0