diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-07-09 11:45:35 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-08-29 17:45:22 -0400 |
commit | c135e1269f34dfdea4bd94c11060c83a3c0b3c12 (patch) | |
tree | 3f551912b5c013303210ba324d0a2812223ebadd /fs/nfsd/nfssvc.c | |
parent | a9507f6af1450ed26a4a36d979af518f5bb21e5d (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/nfsd/nfssvc.c')
0 files changed, 0 insertions, 0 deletions