]> www.infradead.org Git - linux.git/commit
nfsd: remove nfsd_stats, make th_cnt a global counter
authorJosef Bacik <josef@toxicpanda.com>
Fri, 26 Jan 2024 15:39:48 +0000 (10:39 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 1 Mar 2024 14:12:11 +0000 (09:12 -0500)
commite41ee44cc6a473b1f414031782c3b4283d7f3e5f
tree700cb1b2253796458da364def506e5c19b5d431d
parent4b14885411f74b2b0ce0eb2b39d0fffe54e5ca0d
nfsd: remove nfsd_stats, make th_cnt a global counter

This is the last global stat, take it out of the nfsd_stats struct and
make it a global part of nfsd, report it the same as always.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsd.h
fs/nfsd/nfssvc.c
fs/nfsd/stats.c
fs/nfsd/stats.h