io_uring: don't bounce block based -EAGAIN retry off task_work
authorJens Axboe <axboe@kernel.dk>
Thu, 27 Aug 2020 22:46:24 +0000 (16:46 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Aug 2020 22:48:34 +0000 (16:48 -0600)
commitfdee946d0925f971f167d2606984426763355e4f
treefa089a3a3f0cfbdb57086596edfe5df66cda9cf4
parenteefdf30f3dcb5c1d47bee2b3afdb9d4d05343ff3
io_uring: don't bounce block based -EAGAIN retry off task_work

These events happen inline from submission, so there's no need to
bounce them through the original task. Just set them up for retry
and issue retry directly instead of going over task_work.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c