commit | e54945ae947fb881212a4b97d5599a01bba6ad06 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Feb 26 11:27:15 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Mar 04 06:34:01 2021 -0700 |
tree | 7e0a81ee742bbba6d10c031a26d7ecbfd8f2ec5d | |
parent | 470ec4ed8c91b4db398ad607c700e9ce88365202 [diff] |
io_uring: SQPOLL stop error handling fixes If we fail to fork an SQPOLL worker, we can hit cancel, and hence attempted thread stop, with the thread already being stopped. Ensure we check for that. Also guard thread stop fully by the sqd mutex, just like we do for park. Signed-off-by: Jens Axboe <axboe@kernel.dk>