]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a13814a8bec2afc16c3fb40c9b7c7d763221d3c
treee6c1784b3762eeb5cd1642c983579a32958bdd5f
parent0b8d526c93d9df76f2399cf76575a34a717caea0
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