]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fc: quiesce/unquiesce admin_q instead of start/stop its hw queues
authorSagi Grimberg <sagi@grimberg.me>
Sun, 2 Jul 2017 12:39:34 +0000 (15:39 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 6 Jul 2017 06:48:31 +0000 (09:48 +0300)
commit93a319a09058c4a6c090fb0d11884a99b3056bff
tree389723e214b9857ea6256fecde091a4da6242963
parentd2cd26a8512f43ad7cfe4ee0f7a752068cfd967c
nvme-fc: quiesce/unquiesce admin_q instead of start/stop its hw queues

unlike blk_mq_stop_hw_queues and blk_mq_start_stopped_hw_queues
quiescing/unquiescing respects the submission path rcu grace.

Also, make sure to unquiesce before cleanup the admin queue.

Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-By: James Smart <james.smart@broadcom.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/fc.c