commit | b52c2e92546ee794a5bbab4d8ea435c1de85a8cb | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Tue Jul 04 09:57:09 2017 +0300 |
committer | Sagi Grimberg <sagi@grimberg.me> | Thu Jul 06 09:49:05 2017 +0300 |
tree | 1c08c453408a45a247e6a23204e39aa7f318c9c2 | |
parent | 8d7b8fafad87c3404f72ce2d36c79c48be1129a6 [diff] |
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: Ming Lei <ming.lei@redhat.com> Acked-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>