]> git.infradead.org Git - users/hch/misc.git/commit
smb3: add dynamic tracepoint for reflink errors
authorSteve French <stfrench@microsoft.com>
Tue, 23 Jul 2024 23:12:40 +0000 (18:12 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 26 Jul 2024 17:34:19 +0000 (12:34 -0500)
commit5779d398dbcd74c30a641c209946b8498e668a53
tree137867fce1d72f21011016b3b05f3a2de3a3e7a1
parent0e314e452687ce0ec5874e42cdb993a34325d3d2
smb3: add dynamic tracepoint for reflink errors

There are cases where debugging clone_range ("smb2_duplicate_extents"
function) and in the future copy_range ("smb2_copychunk_range") can
be helpful. Add dynamic trace points for any errors in clone, and
a followon patch will add them for copychunk.

  "trace-cmd record -e smb3_clone_err"

Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2ops.c
fs/smb/client/trace.h