mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
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: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20221101150050.3510-10-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
bad3e021ae
commit
2b4c2355c5
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue