Skip to content
Commit 3a6820f2 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: add non-vectored read/write commands



For uses cases that don't already naturally have an iovec, it's easier
(or more convenient) to just use a buffer address + length. This is
particular true if the use case is from languages that want to create
a memory safe abstraction on top of io_uring, and where introducing
the need for the iovec may impose an ownership issue. For those cases,
they currently need an indirection buffer, which means allocating data
just for this purpose.

Add basic read/write that don't require the iovec.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e94f141b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment