commit | 88885f66e8c66311923c16caf1ccb6415ebfef72 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Apr 11 01:46:38 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Apr 12 09:33:04 2021 -0600 |
tree | d53bd24884001e23296fff656e9f217433485a6e | |
parent | aeca241b0bdd831ad5706605f5e09b44fe940220 [diff] |
io_uring: improve sqo stop Set IO_SQ_THREAD_SHOULD_STOP before taking sqd lock, so the sqpoll task sees earlier. Not a problem, it will stop eventually. Also check invariant that it's stopped only once. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/653b24ee93843a50ff65a45847d9138f5adb76d7.1618101759.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>