]> 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)
commit0023f30f3a2851b89901875a694dbc97d239de85
tree988b85d193fb054eace5e3b3a52652021e6f8af0
parentb20b1af6aab8fb5bc77fde8a2e8ddfb78946c962
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