Skip to content
Commit b52c2e92 authored by Sagi Grimberg's avatar Sagi Grimberg
Browse files

nbd: quiesce request queues to make sure no submissions are inflight



Unlike blk_mq_stop_hw_queues, blk_mq_quiesce_queue respects the
submission path rcu grace. quiesce the queue before iterating
on live tags.

Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
Acked-by: default avatarJosef Bacik <jbacik@fb.com>
Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
parent 8d7b8faf
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