cifs: Tracepoints and logs for tracing credit changes.
authorShyam Prasad N <sprasad@microsoft.com>
Thu, 12 Nov 2020 16:56:49 +0000 (08:56 -0800)
committerSteve French <stfrench@microsoft.com>
Tue, 15 Dec 2020 22:56:04 +0000 (16:56 -0600)
commitcd7b699b0198a7fc24f6dc79985f6151f589518c
treee6c1784b3762eeb5cd1642c983579a32958bdd5f
parent6cf5abbfa8c8a2826d56e38ed1956a0e2f0c85b9
cifs: Tracepoints and logs for tracing credit changes.

There is at least one suspected bug in crediting changes in cifs.ko
which has come up a few times in the discussions and in a customer
case.

This change adds tracepoints to the code which modifies the server
credit values in any way. The goal is to be able to track the changes
to the credit values of the session to be able to catch when there is
a crediting bug.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c
fs/cifs/smb2ops.c
fs/cifs/trace.h
fs/cifs/transport.c