Commit 2b4c2355 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

nvme-apple: don't unquiesce the I/O queues in apple_nvme_reset_work

apple_nvme_reset_work schedules apple_nvme_remove, to be called, which
will call apple_nvme_disable and unquiesce the I/O queues.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20221101150050.3510-10-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bad3e021
...@@ -1154,7 +1154,6 @@ static void apple_nvme_reset_work(struct work_struct *work) ...@@ -1154,7 +1154,6 @@ static void apple_nvme_reset_work(struct work_struct *work)
nvme_get_ctrl(&anv->ctrl); nvme_get_ctrl(&anv->ctrl);
apple_nvme_disable(anv, false); apple_nvme_disable(anv, false);
nvme_mark_namespaces_dead(&anv->ctrl); nvme_mark_namespaces_dead(&anv->ctrl);
nvme_start_queues(&anv->ctrl);
if (!queue_work(nvme_wq, &anv->remove_work)) if (!queue_work(nvme_wq, &anv->remove_work))
nvme_put_ctrl(&anv->ctrl); nvme_put_ctrl(&anv->ctrl);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment