aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2023-07-09 11:45:35 -0400
committerChuck Lever <[email protected]>2023-08-29 17:45:22 -0400
commitc135e1269f34dfdea4bd94c11060c83a3c0b3c12 (patch)
tree3f551912b5c013303210ba324d0a2812223ebadd /rust/helpers/helpers.c
parenta9507f6af1450ed26a4a36d979af518f5bb21e5d (diff)
NFSD: Refactor the duplicate reply cache shrinker
Avoid holding the bucket lock while freeing cache entries. This change also caps the number of entries that are freed when the shrinker calls to reduce the shrinker's impact on the cache's effectiveness. Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions