Searched hist:edead3a55804739b2e4af0f35e9c7326264e7b22 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfsd/ |
H A D | filecache.c | diff edead3a55804739b2e4af0f35e9c7326264e7b22 Fri Jul 08 13:25:24 CDT 2022 Chuck Lever <chuck.lever@oracle.com> 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 <david@fromorbit.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
|