smb3: add tracepoint to catch cases where credit refund of failed op overlaps reconnect
authorSteve French <stfrench@microsoft.com>
Sat, 1 Sep 2018 06:10:17 +0000 (01:10 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 24 Oct 2018 02:16:03 +0000 (21:16 -0500)
commitb340a4d4aa18691a6d8b0e747840b0cf30dc01cb
tree577331ff750f0298ee279b24f1ec7c94e213d7d5
parentce7fb50f92d78cf9cd35a520d293a4b791c8d7a1
smb3: add tracepoint to catch cases where credit refund of failed op overlaps reconnect

Add tracepoint to catch potential cases where a pending operation overlapping a
reconnect could fail and incorrectly refund its credits causing the client
to think it has more credits available than the server thinks it does.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/smb2ops.c
fs/cifs/trace.h