Skip to content
Commit 8629397e authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: don't use complete_all() on SQPOLL thread exit

We want to reuse this completion, and a single complete should do just
fine. Ensure that we park ourselves first if requested, as that is what
lead to the initial deadlock in this area. If we've got someone attempting
to park us, then we can't proceed without having them finish first.

Fixes: 37d1e2e3

 ("io_uring: move SQPOLL thread io-wq forked worker")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ba50a036
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment