diff options
author | Chunguang.xu <chunguang.xu@shopee.com> | 2024-12-03 11:34:42 +0800 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-12-04 10:15:46 -0800 |
commit | fdc5664c690f6e0ee235dbc6b1f17ec59aca55bd (patch) | |
tree | aa9af0f933937c0ca19e673826a9f6ddc85be5cf /drivers/nvme | |
parent | 5858b687559809f05393af745cbadf06dee61295 (diff) | |
download | linux-fdc5664c690f6e0ee235dbc6b1f17ec59aca55bd.tar.gz linux-fdc5664c690f6e0ee235dbc6b1f17ec59aca55bd.tar.bz2 linux-fdc5664c690f6e0ee235dbc6b1f17ec59aca55bd.zip |
nvme-tcp: no need to quiesce admin_q in nvme_tcp_teardown_io_queues()
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 <chunguang.xu@shopee.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme')
-rw-r--r-- | drivers/nvme/host/tcp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvme/host/tcp.c b/drivers/nvme/host/tcp.c index 55abfe5e1d25..98bf758dc6fc 100644 --- a/drivers/nvme/host/tcp.c +++ b/drivers/nvme/host/tcp.c @@ -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); |