nfsd: make nfsd_stats.th_cnt atomic_t
authorNeilBrown <neilb@suse.de>
Mon, 29 Nov 2021 04:51:25 +0000 (15:51 +1100)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 13 Dec 2021 18:42:51 +0000 (13:42 -0500)
commit9b6c8c9bebccd5fb785c306b948c08874a88874d
tree8998256835b130819b13a728f521e0b31b407f9d
parentec52361df99b490f6af412b046df9799b92c1050
nfsd: make nfsd_stats.th_cnt atomic_t

This allows us to move the updates for th_cnt out of the mutex.
This is a step towards reducing mutex coverage in nfsd().

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfssvc.c
fs/nfsd/stats.c
fs/nfsd/stats.h