Skip to content
Snippets Groups Projects
Commit 023464fe authored by Jens Axboe's avatar Jens Axboe
Browse files

Revert "io_uring: fix IO hang in io_wq_put_and_exit from do_exit()"


This reverts commit b484a40d.

This commit cancels all requests with io-wq, not just the ones from the
originating task. This breaks use cases that have thread pools, or just
multiple tasks issuing requests on the same ring. The liburing
regression test for this also shows that problem:

$ test/thread-exit.t
cqe->res=-125, Expected 512

where an IO thread gets its request canceled rather than complete
successfully.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 27122c07
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment