[PATCH 1/5] nvme-rdma: unquiesce admin_q before destroy it
Christoph Hellwig
hch at lst.de
Sun Nov 24 23:21:02 PST 2024
On Sat, Nov 23, 2024 at 09:37:37PM +0800, brookxu.cn wrote:
> This due to we have quiesced admi_q before cancel requests, but forgot
> to unquiesce before destroy it, as a result we fail to drain the
> pending requests, and hang on blk_mq_freeze_queue_wait() forever. Here
> try to reuse nvme_rdma_teardown_admin_queue() to fix this issue and
> simplify the code.
Looks good, and matches what the TCP driver is doing:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list