]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Split the smb3_add_credits tracepoint
authorDavid Howells <dhowells@redhat.com>
Thu, 17 Mar 2022 14:28:34 +0000 (14:28 +0000)
committerSteve French <stfrench@microsoft.com>
Sat, 9 Apr 2022 02:25:38 +0000 (21:25 -0500)
commitafdd7aac83cfa6a3de6dddfe384529c3c6ff99d1
tree988b85d193fb054eace5e3b3a52652021e6f8af0
parente92a1598a167bd3e9d385f48c6e48f64987568c2
cifs: Split the smb3_add_credits tracepoint

Split the smb3_add_credits tracepoint to make it more obvious when looking
at the logs which line corresponds to what credit change.  Also add a
tracepoint for credit overflow when it's being added back.

Note that it might be better to add another field to the tracepoint for
the information rather than splitting it.  It would also be useful to store
the MID potentially, though that isn't available when the credits are first
obtained.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: linux-cifs@vger.kernel.org
Acked-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c
fs/cifs/smb2ops.c
fs/cifs/trace.h
fs/cifs/transport.c