nfsd: remove unused stats counters
authorAmir Goldstein <amir73il@gmail.com>
Wed, 6 Jan 2021 07:52:34 +0000 (09:52 +0200)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 25 Jan 2021 14:36:27 +0000 (09:36 -0500)
commit1b76d1df1a3683b6b23cd1c813d13c5e6a9d35e5
treea11e7c9ed575f9a6592bd1122373c1923578d8d3
parent9cee763ee654ce8622d673b8e32687d738e24ace
nfsd: remove unused stats counters

Commit 501cb1849f86 ("nfsd: rip out the raparms cache") removed the
code that updates read-ahead cache stats counters,
commit 8bbfa9f3889b ("knfsd: remove the nfsd thread busy histogram")
removed code that updates the thread busy stats counters back in 2009
and code that updated filehandle cache stats was removed back in 2002.

Remove the unused stats counters from nfsd_stats struct and print
hardcoded zeros in /proc/net/rpc/nfsd.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/stats.c
fs/nfsd/stats.h