]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitf9c5af5f8ff14a31468546b9b1a876d537019e9a
tree389723e214b9857ea6256fecde091a4da6242963
parentfb051339727cd8134dd6ef0305a120e6e265dded
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