nfsd: Add a tracepoint for errors in nfsd4_clone_file_range()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 19 Dec 2021 01:38:00 +0000 (20:38 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 8 Jan 2022 19:42:02 +0000 (14:42 -0500)
commita2f4c3fa4db94ba44d32a72201927cfd132a8e82
tree8442781e44017a9477e09323c8beaa19796c1ef5
parent2c445a0e72cb1fbfbdb7f9473c53556ee27c1d90
nfsd: Add a tracepoint for errors in nfsd4_clone_file_range()

Since a clone error commit can cause the boot verifier to change,
we should trace those errors.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
[ cel: Addressed a checkpatch.pl splat in fs/nfsd/vfs.h ]
fs/nfsd/nfs4proc.c
fs/nfsd/trace.h
fs/nfsd/vfs.c
fs/nfsd/vfs.h