NFSD: Hook up the filecache stat file
authorChuck Lever <chuck.lever@oracle.com>
Fri, 8 Jul 2022 18:24:58 +0000 (14:24 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 30 Jul 2022 00:10:07 +0000 (20:10 -0400)
commit2e6c6e4c4375bfd3defa5b1ff3604d9f33d1c936
treeee8554aeaeebe4f4487d76a1989f067496a1805d
parent8b330f78040cbe16cf8029df70391b2a491f17e2
NFSD: Hook up the filecache stat file

There has always been the capability of exporting filecache metrics
via /proc, but it was never hooked up. Let's surface these metrics
to enable better observability of the filecache.

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