]> Git Repo - linux.git/commitdiff
nvme-tcp: no need to quiesce admin_q in nvme_tcp_teardown_io_queues()
authorChunguang.xu <[email protected]>
Tue, 3 Dec 2024 03:34:42 +0000 (11:34 +0800)
committerKeith Busch <[email protected]>
Wed, 4 Dec 2024 18:15:46 +0000 (10:15 -0800)
As we quiesce admin_q in nvme_tcp_teardown_admin_queue(), so we should no
need to quiesce it in nvme_tcp_reaardown_io_queues(), make things simple.

Signed-off-by: Chunguang.xu <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
drivers/nvme/host/tcp.c

index 55abfe5e1d2548936e91c402b06564c514425fdf..98bf758dc6fc691bd6f8608fc091eb05da1e9c81 100644 (file)
@@ -2178,7 +2178,6 @@ static void nvme_tcp_teardown_io_queues(struct nvme_ctrl *ctrl,
 {
        if (ctrl->queue_count <= 1)
                return;
-       nvme_quiesce_admin_queue(ctrl);
        nvme_quiesce_io_queues(ctrl);
        nvme_sync_io_queues(ctrl);
        nvme_tcp_stop_io_queues(ctrl);
This page took 0.05826 seconds and 4 git commands to generate.