]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: do task_work_run() during iopoll
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 28 Jun 2020 09:52:37 +0000 (12:52 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 28 Jun 2020 14:13:03 +0000 (08:13 -0600)
commitb9b975faae47d3f3603c1017d65386652754c46d
tree7cd4a32d63714290fe17cb498f437979006c1121
parente436b41b29c96fd129df7a89abd1d67a827e3f74
io_uring: do task_work_run() during iopoll

There are a lot of new users of task_work, and some of task_work_add()
may happen while we do io polling, thus make iopoll from time to time
to do task_work_run(), so it doesn't poll for sitting there reqs.

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