]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: add dynamic trace points for tree disconnect
authorSteve French <stfrench@microsoft.com>
Wed, 21 Sep 2022 19:05:53 +0000 (14:05 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 5 Oct 2022 06:31:18 +0000 (01:31 -0500)
commit8029f1a5a4288389c714209f8b137fd34d53f8f5
treeadc934002500308dc31fed251615fc35f4fb2265
parentc1741788c80909358d5e896cb804573713c5a419
smb3: add dynamic trace points for tree disconnect

Needed this for debugging a failing xfstest.
Also change camel case for "treeName" to "tree_name" in tcon struct.

Example trace output (from "trace-cmd record -e smb3_tdis*"):
          umount-9718    [006] .....  5909.780244: smb3_tdis_enter: xid=206 sid=0xcf38894e tid=0x3d0b8cf8 path=\\localhost\test
          umount-9718    [007] .....  5909.780878: smb3_tdis_done: xid=206 sid=0xcf38894e tid=0x3d0b8cf8

Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
15 files changed:
fs/cifs/cached_dir.c
fs/cifs/cifs_debug.c
fs/cifs/cifs_debug.h
fs/cifs/cifs_swn.c
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/dfs_cache.c
fs/cifs/dir.c
fs/cifs/fscache.c
fs/cifs/inode.c
fs/cifs/misc.c
fs/cifs/smb2inode.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/trace.h