diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-07-04 10:00:41 +0300 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2017-07-06 09:49:18 +0300 |
commit | 436c15ab6596b12cfee7618ecaa69a4341ac3c51 (patch) | |
tree | 7069612726981086d6b2caaa5db671a236d9faef /lib | |
parent | b52c2e92546ee794a5bbab4d8ea435c1de85a8cb (diff) | |
download | linux-436c15ab6596b12cfee7618ecaa69a4341ac3c51.tar.gz linux-436c15ab6596b12cfee7618ecaa69a4341ac3c51.tar.bz2 linux-436c15ab6596b12cfee7618ecaa69a4341ac3c51.zip |
mtip32xx: 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, or performing device io quiescing.
While were at it, verify that the request started in mtip_abort_cmd
amd mtip_queue_cmd tag iteration calls.
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions