diff options
author | Trond Myklebust <[email protected]> | 2021-02-18 21:02:07 -0500 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2021-03-06 16:41:47 -0500 |
commit | d30881f573e565ebb5dbb50b31ed6106b5c81328 (patch) | |
tree | faf91b79b0e23263b6397844d6f746606a9790bd /lib/test-string_helpers.c | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) |
nfsd: Don't keep looking up unhashed files in the nfsd file cache
If a file is unhashed, then we're going to reject it anyway and retry,
so make sure we skip it when we're doing the RCU lockless lookup.
This avoids a number of unnecessary nfserr_jukebox returns from
nfsd_file_acquire()
Fixes: 65294c1f2c5e ("nfsd: add a new struct file caching facility to nfsd")
Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions