io_uring: simplify iopoll reissuing
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 11 Feb 2021 18:28:21 +0000 (18:28 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Feb 2021 18:40:42 +0000 (11:40 -0700)
commitf161340d9e85b9038031b497b32383e50ff00ca1
tree06d4a9887be7e67657ab8740be56b228f4745fe7
parent6e833d538b3123767393c987d11c40b7728b3f79
io_uring: simplify iopoll reissuing

Don't stash -EAGAIN'ed iopoll requests into a list to reissue it later,
do it eagerly. It removes overhead on keeping and checking that list,
and allows in case of failure for these requests to be completed through
normal iopoll completion path.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c