NFSD: Report count of calls to nfsd_file_acquire()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 8 Jul 2022 18:23:59 +0000 (14:23 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 30 Jul 2022 00:09:22 +0000 (20:09 -0400)
commit29d4bdbbb910f33d6058d2c51278f00f656df325
tree8d27c6074af0387c34ff3a7e487dc8e7402ac829
parent0fd244c115f0321fc5e34ad2291f2a572508e3f7
NFSD: Report count of calls to nfsd_file_acquire()

Count the number of successful acquisitions that did not create a
file (ie, acquisitions that do not result in a compulsory cache
miss). This count can be compared directly with the reported hit
count to compute a hit ratio.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/filecache.c