]> git.ipfire.org Git - people/ms/linux.git/commit - fs/cifs/transport.c
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)
commit1ddff774164f1bcd0fcf988f7a5bb24270fbdf2c
tree988b85d193fb054eace5e3b3a52652021e6f8af0
parentd788e51636462e61c6883f7d96b07b06bc291650
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