io_uring: add IOSQE_BUFFER_SELECT support for IORING_OP_READV
authorJens Axboe <axboe@kernel.dk>
Thu, 27 Feb 2020 14:31:19 +0000 (07:31 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Mar 2020 03:04:21 +0000 (20:04 -0700)
commitc1826258882f12149cbb59a8183076b8ec11d681
tree1dd9b987531b8146f316db4b7f2679968988c073
parent2227ff6594d2072ae56dbd4637904a2430a7e388
io_uring: add IOSQE_BUFFER_SELECT support for IORING_OP_READV

This adds support for the vectored read. This is limited to supporting
just 1 segment in the iov, and is provided just for convenience for
applications that use IORING_OP_READV already.

The iov helpers will be used for IORING_OP_RECVMSG as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c