[PATCH][smb3 client] allow debugging session and tcon info to improve stats analysis and debugging
Steve French
smfrench at gmail.com
Thu Nov 9 21:51:55 UTC 2023
[PATCH] smb3: allow debugging session and tcon info to improve stats
analysis and debugging
When multiple mounts are to the same share from the same client it was not
possible to determine which section of /proc/fs/cifs/Stats (and DebugData)
correspond to that mount. In some recent examples this turned out to be
a significant problem when trying to analyze performance problems - since
there are many cases where unless we know the tree id and session id we
can't figure out which stats (e.g. number of SMB3.1.1 requests by type,
the total time they take, which is slowest, how many fail etc.) apply to
which mount.
Add an ioctl to return tid, session id, tree connect count and tcon flags.
--
Thanks,
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smb3-allow-debugging-session-and-tcon-info-to-improv.patch
Type: text/x-patch
Size: 3262 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20231109/a8ce88a0/0001-smb3-allow-debugging-session-and-tcon-info-to-improv.bin>
More information about the samba-technical
mailing list