fs: add batch and poll flags to the uring_cmd_iopoll() handler
authorJens Axboe <axboe@kernel.dk>
Fri, 2 Sep 2022 21:18:05 +0000 (15:18 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 16:30:43 +0000 (10:30 -0600)
commitde97fcb30316410a2c46be102f074a454ecc6cf1
treee5c5c568a2c0c4457aca22efc5349a7a5b792889
parentdac6a0eae793f53c62a0f83d9f5423293a7845c4
fs: add batch and poll flags to the uring_cmd_iopoll() handler

We need the poll_flags to know how to poll for the IO, and we should
have the batch structure in preparation for supporting batched
completions with iopoll.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/ioctl.c
drivers/nvme/host/nvme.h
include/linux/fs.h
io_uring/rw.c