• J
    io_uring: add non-vectored read/write commands · 3a6820f2
    Jens Axboe 提交于
    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: NJens Axboe <axboe@kernel.dk>
    3a6820f2
io_uring.h 4.2 KB