engines/io_uring: use fixed opcodes for pre-mapped buffers
authorKeith Busch <kbusch@kernel.org>
Tue, 14 Jan 2020 21:24:24 +0000 (13:24 -0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 14 Jan 2020 21:27:22 +0000 (14:27 -0700)
Use the correct opcode when for reads and writes using the fixedbuf
option, otherwise EINVAL errors will be returned to these requests.

Fixes: b10b1e70a ("io_uring: add option for non-vectored read/write commands")
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found