commit | 78d7f6ba82edb7f8763390982be29051c4216772 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Wed Mar 10 13:13:53 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Mar 10 07:29:59 2021 -0700 |
tree | d51954e554ee3f20efe5f3471896c24370ddd327 | |
parent | e22bc9b481a90d7898984ea17621f04a653e2cd1 [diff] |
io_uring: fix invalid ctx->sq_thread_idle We have to set ctx->sq_thread_idle before adding a ring to an SQ task, otherwise sqd races for seeing zero and accounting it as such. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>