]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fuse: add fuse_request_sent tracepoint
authorAmir Goldstein <amir73il@gmail.com>
Fri, 5 Jun 2026 09:26:47 +0000 (11:26 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 15 Jun 2026 12:06:19 +0000 (14:06 +0200)
commite0dcd3f02c5b406b506b085ea41b14218c98b4a2
tree4f36555cd6cd7bcba71ffdedc9639695e0f4129f
parent9f3e7166aaa69a8f7c535e267ac23ecc931c3697
fuse: add fuse_request_sent tracepoint

This new tracepoint complements fuse_request_send (enqueue) and
fuse_request_end (completion).  It fires after the request has been
successfully copied to the daemon's buffer, just before the daemon
can start to process it.

fuse_request_sent does not fire if the copy of the request fails.
It also does not fire for NOTIFY_REPLY, which fires the _end tracepoint
at the end of copy.

This is needed for tools tracking the in-flight state of user initiated
fuse requests.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev.c
fs/fuse/dev_uring.c
fs/fuse/fuse_trace.h