]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netfs: Add a tracepoint to log the lifespan of folio_queue structs
authorDavid Howells <dhowells@redhat.com>
Mon, 16 Dec 2024 20:40:54 +0000 (20:40 +0000)
committerChristian Brauner <brauner@kernel.org>
Fri, 20 Dec 2024 21:34:02 +0000 (22:34 +0100)
commitaabcabf2746062253565b33aa3f8d25999a5ac01
treec6471f14ba0a7f7d44a9d0e721949db33ddd5471
parenteb1181594417dafad0f75808ead71f6d5170c1ea
netfs: Add a tracepoint to log the lifespan of folio_queue structs

Add a tracepoint to log the lifespan of folio_queue structs.  For tracing
illustrative purposes, folio_queues are tagged with the debug ID of
whatever they're related to (typically a netfs_io_request) and a debug ID
of their own.

Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20241216204124.3752367-5-dhowells@redhat.com
cc: Jeff Layton <jlayton@kernel.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/netfs/buffered_read.c
fs/netfs/internal.h
fs/netfs/misc.c
fs/netfs/read_collect.c
fs/netfs/write_issue.c
fs/smb/client/smb2ops.c
include/linux/folio_queue.h
include/linux/netfs.h
include/trace/events/netfs.h
lib/kunit_iov_iter.c