]> www.infradead.org Git - users/willy/pagecache.git/commit
fuse: Add io-uring sqe commit and fetch support
authorBernd Schubert <bschubert@ddn.com>
Mon, 20 Jan 2025 01:29:03 +0000 (02:29 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 27 Jan 2025 16:36:41 +0000 (17:36 +0100)
commitc090c8abae4b6b77a1bee116aa6c385456ebef96
tree986abc2ef12e9740ea379542b90a025c376c0af3
parent3821336530616776414aa7a879640052b89def28
fuse: Add io-uring sqe commit and fetch support

This adds support for fuse request completion through ring SQEs
(FUSE_URING_CMD_COMMIT_AND_FETCH handling). After committing
the ring entry it becomes available for new fuse requests.
Handling of requests through the ring (SQE/CQE handling)
is complete now.

Fuse request data are copied through the mmaped ring buffer,
there is no support for any zero copy yet.

Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> # io_uring
Reviewed-by: Luis Henriques <luis@igalia.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev_uring.c
fs/fuse/dev_uring_i.h
fs/fuse/fuse_i.h