NFSD: trace nfsctl operations
authorChuck Lever <chuck.lever@oracle.com>
Mon, 15 May 2023 13:35:50 +0000 (09:35 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 5 Jun 2023 13:01:43 +0000 (09:01 -0400)
commit39d432fc76301cf0a0c454022117601994ca9397
tree00b74f1540bd1033242121feb0ee9237a8d0b0d9
parent3434d7aa77d24c5c4b3d4385084cfdb607f05dec
NFSD: trace nfsctl operations

Add trace log eye-catchers that record the arguments used to
configure NFSD. This helps when troubleshooting the NFSD
administrative interfaces.

These tracepoints can capture NFSD start-up and shutdown times and
parameters, changes in lease time and thread count, and a request
to end the namespace's NFSv4 grace period, in addition to the set
of NFS versions that are enabled.

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