diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-06-05 17:45:00 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-06-07 03:22:49 +0400 |
commit | 1b19453d1c6abcfa7c312ba6c9f11a277568fc94 (patch) | |
tree | 79294cae386ffbcaccfac56c2b86a065e0d6d016 /net/sunrpc | |
parent | 999e568354b8c797f344a2154761dd94cc84e4ac (diff) | |
download | linux-1b19453d1c6abcfa7c312ba6c9f11a277568fc94.tar.xz |
nfsd: don't halt scanning the DRC LRU list when there's an RC_INPROG entry
Currently, the DRC cache pruner will stop scanning the list when it
hits an entry that is RC_INPROG. It's possible however for a call to
take a *very* long time. In that case, we don't want it to block other
entries from being pruned if they are expired or we need to trim the
cache to get back under the limit.
Fix the DRC cache pruner to just ignore RC_INPROG entries.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions