diff options
author | Steve French <stfrench@microsoft.com> | 2018-09-19 02:38:17 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-10-23 21:16:04 -0500 |
commit | 9e1a37dad4f3b9f1d36d9fd27021bbd67fb8c85f (patch) | |
tree | fa1d2d0a3595ad867ae86f7aaf4c244e318e10b8 /fs/cifs/cifsglob.h | |
parent | 37e6a7057607121485099e405eb528d416a5ced4 (diff) | |
download | lwn-9e1a37dad4f3b9f1d36d9fd27021bbd67fb8c85f.tar.gz lwn-9e1a37dad4f3b9f1d36d9fd27021bbd67fb8c85f.zip |
smb3: track the instance of each session for debugging
Each time we reconnect to the same server, bump an instance
counter (and display in /proc/fs/cifs/DebugData) to make it
easier to debug.
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index d59588e4aeb4..b2f7cbd587f9 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -654,6 +654,7 @@ struct TCP_Server_Info { /* 16th byte of RFC1001 workstation name is always null */ char workstation_RFC1001_name[RFC1001_NAME_LEN_WITH_NULL]; __u32 sequence_number; /* for signing, protected by srv_mutex */ + __u32 reconnect_instance; /* incremented on each reconnect */ struct session_key session_key; unsigned long lstrp; /* when we got last response from this server */ struct cifs_secmech secmech; /* crypto sec mech functs, descriptors */ |