]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: add support for kernel registered bvecs
authorKeith Busch <kbusch@kernel.org>
Thu, 27 Feb 2025 22:39:14 +0000 (14:39 -0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Feb 2025 14:05:36 +0000 (07:05 -0700)
commit27cb27b6d5ea401143ca3648983342bb820c4be9
tree57e120597af207b8d4d83502d0f6353d3ab6bd34
parent99fde895ff56ac2241e7b7b4566731d72f2fdaa7
io_uring: add support for kernel registered bvecs

Provide an interface for the kernel to leverage the existing
pre-registered buffers that io_uring provides. User space can reference
these later to achieve zero-copy IO.

User space must register an empty fixed buffer table with io_uring in
order for the kernel to make use of it.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20250227223916.143006-5-kbusch@meta.com
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring/cmd.h
io_uring/io_uring.c
io_uring/rsrc.c
io_uring/rsrc.h
io_uring/rw.c