netfs: Adjust the netfs_failure tracepoint to indicate non-subreq lines
authorDavid Howells <dhowells@redhat.com>
Fri, 25 Feb 2022 16:24:03 +0000 (16:24 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2022 09:24:00 +0000 (09:24 +0000)
commit5c88705e2aeaee5521b8586e68bef47aab359914
treea0a39bce0078f3f34a863b661980af57d9392664
parent6cd3d6fd1fe2feae5ff9f6a821081569bb140bf4
netfs: Adjust the netfs_failure tracepoint to indicate non-subreq lines

Adjust the netfs_failure tracepoint to indicate a subrequest number of -1
when it's a full-request failure unrelated to any particular subrequest,
such as a failure to encrypt its data buffer.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com

Link: https://lore.kernel.org/r/164623001948.3564931.2353852999649380059.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/164678204587.1200972.14893513018190383961.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/164692903233.2099075.15414355147237641274.stgit@warthog.procyon.org.uk/
include/trace/events/netfs.h