commit | 8629397e6e2753bb4cc62ba48a12e1d4d912b6a4 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Feb 26 13:46:49 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Mar 04 06:34:04 2021 -0700 |
tree | ca4c7e7144531e70dd0fd3781430922fcad5bfa0 | |
parent | ba50a036f23c44608b1d903c34644a1acd5d21fa [diff] |
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: 37d1e2e3642e ("io_uring: move SQPOLL thread io-wq forked worker") Signed-off-by: Jens Axboe <axboe@kernel.dk>