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

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: default avatarJens Axboe <axboe@kernel.dk>
parent 470ec4ed
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