diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-09-07 09:41:49 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-09-07 09:41:49 -0600 |
commit | 023464fe33a53d7e3fa0a1967a2adcb17e5e40e3 (patch) | |
tree | 5523525bf1d708c4d49afd85171fcffc7b35afa0 /Documentation | |
parent | 27122c079f5b4b4ecf1323b65700edc57e07bf6e (diff) |
Revert "io_uring: fix IO hang in io_wq_put_and_exit from do_exit()"
This reverts commit b484a40dc1f16edb58e5430105a021e1916e6f27.
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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions