]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smb3 client: add missing tracepoint for unsupported ioctls
authorSteve French <stfrench@microsoft.com>
Mon, 29 Dec 2025 16:23:12 +0000 (10:23 -0600)
committerSteve French <stfrench@microsoft.com>
Tue, 30 Dec 2025 15:16:45 +0000 (09:16 -0600)
commitbc311611625a8aaa26813809a2c820fcd286ba2b
treeac524ba775d7cc7ded17695c510022aa4123a1ad
parentf8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da
smb3 client: add missing tracepoint for unsupported ioctls

In debugging a recent problem with an xfstest, noticed that we weren't
tracing cases where the ioctl was not supported.  Add dynamic tracepoint:
    "trace-cmd record -e smb3_unsupported_ioctl"
and then after running an app which calls unsupported ioctl,
"trace-cmd show"would display e.g.
      xfs_io-7289    [012] .....  1205.137765: smb3_unsupported_ioctl: xid=19 fid=0x4535bb84 ioctl cmd=0x801c581f

Acked-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/ioctl.c
fs/smb/client/trace.h