diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-06-05 09:45:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-06 18:54:14 -0700 |
commit | 548e6c6e202cb03f5bf5d79392fa4dcf1c1534cf (patch) | |
tree | c6d7fcb8c41526486bb837dbbd2c3e555e6df7d8 /arch | |
parent | 03e9dd7847298ea8328b914de8f4777e238cdb77 (diff) |
nfsd: don't halt scanning the DRC LRU list when there's an RC_INPROG entry
commit 1b19453d1c6abcfa7c312ba6c9f11a277568fc94 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions