Skip to content

Commit bad3e02

Browse files
Christoph Hellwigaxboe
authored andcommitted
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]>
1 parent cd50f9b commit bad3e02

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/nvme/host/pci.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2789,7 +2789,6 @@ static void nvme_remove_dead_ctrl(struct nvme_dev *dev)
27892789
nvme_get_ctrl(&dev->ctrl);
27902790
nvme_dev_disable(dev, false);
27912791
nvme_mark_namespaces_dead(&dev->ctrl);
2792-
nvme_start_queues(&dev->ctrl);
27932792
if (!queue_work(nvme_wq, &dev->remove_work))
27942793
nvme_put_ctrl(&dev->ctrl);
27952794
}

0 commit comments

Comments
 (0)