]> git.baikalelectronics.ru Git - kernel.git/commit
Display number of credits available
authorSteve French <smfrench@gmail.com>
Tue, 20 Sep 2016 03:06:35 +0000 (22:06 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 12 Oct 2016 17:08:31 +0000 (12:08 -0500)
commitf9da42d0796a5e4113c6dfe27c2eb5655d77d986
tree2c0ae0fa650715387a54b997830f7cbda0c04ecd
parent19117dd3426f25d7c8fd24490f82e189b2ce8138
Display number of credits available

In debugging smb3, it is useful to display the number
of credits available, so we can see when the server has not granted
sufficient operations for the client to make progress, or alternatively
the client has requested too many credits (as we saw in a recent bug)
so we can compare with the number of credits the server thinks
we have.

Add a /proc/fs/cifs/DebugData line to display the client view
on how many credits are available.

Signed-off-by: Steve French <steve.french@primarydata.com>
Reported-by: Germano Percossi <germano.percossi@citrix.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/cifs_debug.c