diff options
author | Pavel Begunkov <[email protected]> | 2021-03-10 13:13:53 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-03-10 07:29:59 -0700 |
commit | 78d7f6ba82edb7f8763390982be29051c4216772 (patch) | |
tree | d51954e554ee3f20efe5f3471896c24370ddd327 /lib/mpi/mpiutil.c | |
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions