cifs: Make the write_{enter,done,err} tracepoints display netfs info
authorDavid Howells <dhowells@redhat.com>
Wed, 18 Sep 2024 19:24:24 +0000 (20:24 +0100)
committerSteve French <stfrench@microsoft.com>
Wed, 25 Sep 2024 02:51:48 +0000 (21:51 -0500)
commit85633c00ad03049019df632f2bdcf5ff7efc7796
treef068651e7630e2fd356a251621eb26bcc9bf9a7a
parent4f42a8b54b5c6e36519aef3cb1f6210e54abd451
cifs: Make the write_{enter,done,err} tracepoints display netfs info

Make the write RPC tracepoints use the same trace macro complexes as the
read tracepoints and display the netfs request and subrequest IDs where
available (see commit 519be989717c "cifs: Add a tracepoint to track credits
involved in R/W requests").

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <stfrench@microsoft.com>
cc: Paulo Alcantara (Red Hat) <pc@manguebit.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2pdu.c
fs/smb/client/trace.h