Skip to content
Commit 39a70c76 authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

blk-mq: clarify dispatch may not be drained/blocked by stopping queue



BLK_MQ_S_STOPPED may not be observed in other concurrent I/O paths,
we can't guarantee that dispatching won't happen after returning
from the APIs of stopping queue.

So clarify the fact and avoid potential misuse.

Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
Reviewed-by: default avatarBart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 1d9e9bc6
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