NFSD: Add tracepoints in nfsd4_decode/encode_compound()
authorChuck Lever <chuck.lever@oracle.com>
Sat, 21 Nov 2020 16:36:42 +0000 (11:36 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2020 19:46:35 +0000 (14:46 -0500)
commit08281341be8ebc97ee47999812bcf411942baa1e
tree57e98af557a343f204ebd2d966c6921a722c09a8
parent0dfdad1c1d1b77b9b085f4da390464dd0ac5647a
NFSD: Add tracepoints in nfsd4_decode/encode_compound()

For troubleshooting purposes, record failures to decode NFSv4
operation arguments and encode operation results.

trace_nfsd_compound_decode_err() replaces the dprintk() call sites
that are embedded in READ_* macros that are about to be removed.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4xdr.c
fs/nfsd/trace.h