[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260210155712.GA3653@lst.de>
Date: Tue, 10 Feb 2026 16:57:12 +0100
From: Christoph Hellwig <hch@....de>
To: Junnan Zhang <zhangjn_dev@....com>
Cc: Keith Busch <kbusch@...nel.org>, Jens Axboe <axboe@...nel.dk>,
Christoph Hellwig <hch@....de>, Sagi Grimberg <sagi@...mberg.me>,
Shouxin Sun <sunshx@...natelecom.cn>,
Junnan Zhang <zhangjn11@...natelecom.cn>,
Qiliang Yuan <yuanql9@...natelecom.cn>,
Zhaolong Zhang <zhangzl68@...natelecom.cn>,
Yaxuan Liu <liuyx92@...natelecom.cn>,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nvme-pci: fix potential I/O hang when CQ is full
We can't update the CQ head before consuming the CQEs, otherwise
the device can reuse them. And devices must not discard completions
when there is no completion queue entry, nvme does allow SQs and CQs
to be smaller than the number of outstanding commands.
Powered by blists - more mailing lists