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 18:49:14 +0000 (11:49 -0700)
commitf7e4223ce3098e90cacbd14c947a0905c6a1fb1d
treed858b66aa1dfcb7f0dbd07b7ac68f3581d40d084
parenta99db8406521419559bb36b7fa2d43274e8bd8c5
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