]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring/mock: add cmd using vectored regbufs
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 30 Jun 2025 18:16:52 +0000 (19:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Jul 2025 14:10:26 +0000 (08:10 -0600)
commit4aac001f780388b252534396feaf49b250eae27f
tree7bfc32590615c3b2ce964237eb248ad416bcff20
parent3a0ae385f69e9b2d87c9b017c4ffb5567c015197
io_uring/mock: add cmd using vectored regbufs

There is a command api allowing to import vectored registered buffers,
add a new mock command that uses the feature and simply copies the
specified registered buffer into user space or vice versa.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/229a113fd7de6b27dbef9567f7c0bf4475c9017d.1750599274.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring/mock_file.h
io_uring/mock_file.c