• J
    io-wq: fix queue stalling race · 0242f642
    Jens Axboe 提交于
    We need to set the stalled bit early, before we drop the lock for adding
    us to the stall hash queue. If not, then we can race with new work being
    queued between adding us to the stall hash and io_worker_handle_work()
    marking us stalled.
    Signed-off-by: NJens Axboe <axboe@kernel.dk>
    0242f642
io-wq.c 28.7 KB