summaryrefslogtreecommitdiff
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-07-09 11:45:35 -0400
committerChuck Lever <chuck.lever@oracle.com>2023-08-29 17:45:22 -0400
commitc135e1269f34dfdea4bd94c11060c83a3c0b3c12 (patch)
tree3f551912b5c013303210ba324d0a2812223ebadd /fs/cachefiles
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 <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions