]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
smb3: add trace point for queryfs (statfs)
authorSteve French <stfrench@microsoft.com>
Fri, 1 Sep 2023 06:29:17 +0000 (01:29 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 7 Sep 2023 05:05:56 +0000 (00:05 -0500)
commitfeeec636b6b1cf3e6129e645411751b205c44976
treef735079e09931f467048093d2fd1e1045c64c9fa
parentf48d4d35ad7b965d7945df75a34eec20761612f2
smb3: add trace point for queryfs (statfs)

In debugging a recent performance problem with statfs, it would have
been helpful to be able to trace the smb3 query fs info request
more narrowly.  Add a trace point "smb3_qfs_done"

Which displays:

 stat-68950   [008] .....  1472.360598: smb3_qfs_done: xid=14 sid=0xaa9765e4 tid=0x95a76f54 unc_name=\\localhost\test rc=0

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