]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite985b69b6f4bec7363e4a39179c384a61c8ffcb9
treefa089a3a3f0cfbdb57086596edfe5df66cda9cf4
parent22956ce838fe1c5e97f6943a08ee2be7d52f34aa
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