]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: process task work in io_uring_register()
authorJens Axboe <axboe@kernel.dk>
Thu, 24 Sep 2020 19:32:18 +0000 (13:32 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:34 +0000 (20:32 -0600)
commitd2205c3715d366cb9a60a259700a6072199b0a52
tree7a38455dbeb05d0cf7efe7b125656c07a582308b
parentd51ce2c5f0c8f16a24a365c4d5cbe35510d13a20
io_uring: process task work in io_uring_register()

We do this for CQ ring wait, in case task_work completions come in. We
should do the same in io_uring_register(), to avoid spurious -EINTR
if the ring quiescing ends up having to process task_work to complete
the operation

Reported-by: Dan Melnic <dmm@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c