]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit9742805d6b1bfb45d7f267648c34fb5bcd347397
tree2c0ae0fa650715387a54b997830f7cbda0c04ecd
parent6609804413ae5b84830e35fdd3a7b7fe4149cf71
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