engines/io_uring: use non-vectored read/write if available
authorJens Axboe <axboe@kernel.dk>
Sat, 22 Aug 2020 16:48:15 +0000 (10:48 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Aug 2020 16:55:01 +0000 (10:55 -0600)
commit556d841501ffab46a88f8276570906bb31814c83
tree5575403d1aae52358334c0b46ee2a963db87a108
parentd836624b3a7eb3433bdf8f7193b44daacd5ba6d1
engines/io_uring: use non-vectored read/write if available

There's the nonvectored option to set this, by default to it if it
wasn't set explicitly *and* we have it available. We issue a probe
to detect this.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c
os/linux/io_uring.h