diff options
author | Chuck Lever <[email protected]> | 2022-07-08 14:25:24 -0400 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2022-07-29 20:11:19 -0400 |
commit | edead3a55804739b2e4af0f35e9c7326264e7b22 (patch) | |
tree | c2d97040a94dcb96f0fed87b0bd62c9213baa576 /tools/perf/scripts/python/libxed.py | |
parent | 4a0e73e635e3f36b616ad5c943e3d23debe4632f (diff) |
NFSD: Fix the filecache LRU shrinker
Without LRU item rotation, the shrinker visits only a few items on
the end of the LRU list, and those would always be long-term OPEN
files for NFSv4 workloads. That makes the filecache shrinker
completely ineffective.
Adopt the same strategy as the inode LRU by using LRU_ROTATE.
Suggested-by: Dave Chinner <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions