diff options
author | Christoph Hellwig <[email protected]> | 2022-11-01 16:00:44 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-11-02 08:35:34 -0600 |
commit | bad3e021ae2bb5ac9d650c9a04788efe753367f3 (patch) | |
tree | fc6a66fb0989391cae417e8f05a9a3deafe59b58 | |
parent | cd50f9b24726e9e195a0682c8d8d952396d57aef (diff) |
nvme-pci: don't unquiesce the I/O queues in nvme_remove_dead_ctrl
nvme_remove_dead_ctrl schedules nvme_remove to be called, which will
call nvme_dev_disable and unquiesce the I/O queues.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
-rw-r--r-- | drivers/nvme/host/pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index f72143945ab5..208c387f1558 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -2789,7 +2789,6 @@ static void nvme_remove_dead_ctrl(struct nvme_dev *dev) nvme_get_ctrl(&dev->ctrl); nvme_dev_disable(dev, false); nvme_mark_namespaces_dead(&dev->ctrl); - nvme_start_queues(&dev->ctrl); if (!queue_work(nvme_wq, &dev->remove_work)) nvme_put_ctrl(&dev->ctrl); } |