nvme-fc: restart admin queue if the caller needs to restart queue
[linux-block.git] / drivers / nvme / host / fc.c
index 9987797620b6da643fd8448eb839a51861018794..8d14df8eeab848da555cda3de764448ee7f66057 100644 (file)
@@ -2533,6 +2533,8 @@ __nvme_fc_abort_outstanding_ios(struct nvme_fc_ctrl *ctrl, bool start_queues)
        blk_mq_tagset_busy_iter(&ctrl->admin_tag_set,
                                nvme_fc_terminate_exchange, &ctrl->ctrl);
        blk_mq_tagset_wait_completed_request(&ctrl->admin_tag_set);
+       if (start_queues)
+               nvme_start_admin_queue(&ctrl->ctrl);
 }
 
 static void