diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2021-02-03 23:20:46 -0800 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-02-16 15:48:02 -0600 |
commit | 6d82c27ae5d048ba9219cccdf832f8406e507d5f (patch) | |
tree | 717c9516c046f248f786515e91fcec8a7214c0b0 /tools/perf/scripts/python/syscall-counts.py | |
parent | 7de0394801da4f759684c4a33cf62f12da6e447d (diff) |
cifs: Identify a connection by a conn_id.
Introduced a new field conn_id in TCP_Server_Info structure.
This is a non-persistent unique identifier maintained by the client
for a connection to a file server. For this, a global counter named
tcpSesNextId is maintained. On allocating a new TCP_Server_Info,
this counter is incremented and assigned.
Changed the dynamic tracepoints related to reconnects and
crediting to be more informative (with conn_id printed).
Debugging a crediting issue helped me understand the
important things to print here.
Always call dynamic tracepoints outside the scope of spinlocks.
To do this, copy out the credits and in_flight fields of the
server struct before dropping the lock.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions