NFSD: keep track of the number of v4 clients in the system
authorDai Ngo <dai.ngo@oracle.com>
Fri, 15 Jul 2022 23:54:52 +0000 (16:54 -0700)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 30 Jul 2022 00:16:56 +0000 (20:16 -0400)
commit0926c39515aa065a296e97dfc8790026f1e53f86
treed41229407438cd7fa74de074dd1ab5224de6e14c
parent6867137ebcf4155fe25f2ecf7c29b9fb90a76d1d
NFSD: keep track of the number of v4 clients in the system

Add counter nfs4_client_count to keep track of the total number
of v4 clients, including courtesy clients, in the system.

Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/netns.h
fs/nfsd/nfs4state.c