]> www.infradead.org Git - users/hch/configfs.git/commit
smb3: add dynamic tracepoints for shutdown ioctl
authorSteve French <stfrench@microsoft.com>
Tue, 30 Jul 2024 05:26:21 +0000 (00:26 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 2 Aug 2024 15:55:49 +0000 (10:55 -0500)
commit69ca1f57555f74142a4c241703c307cb31b54667
treec90652751e922005af7b4373d415435227ab2bb6
parentcd936507986e38535e7c98940c186e9a97b87184
smb3: add dynamic tracepoints for shutdown ioctl

For debugging an umount failure in xfstests generic/043 generic/044 in some
configurations, we needed more information on the shutdown ioctl which
was suspected of being related to the cause, so tracepoints are added
in this patch e.g.

  "trace-cmd record -e smb3_shutdown_enter -e smb3_shutdown_done -e smb3_shutdown_err"

Sample output:
  godown-47084   [011] .....  3313.756965: smb3_shutdown_enter: flags=0x1 tid=0x733b3e75
  godown-47084   [011] .....  3313.756968: smb3_shutdown_done: flags=0x1 tid=0x733b3e75

Tested-by: Anthony Nandaa (Microsoft) <profnandaa@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/ioctl.c
fs/smb/client/trace.h