[PATCH] nvme-rdma: fix crash for no IO queues

Keith Busch kbusch at kernel.org
Tue Feb 23 18:21:37 EST 2021


On Tue, Feb 23, 2021 at 03:26:02PM +0800, Chao Leng wrote:
> A crash happens when set feature(NVME_FEAT_NUM_QUEUES) timeout in nvme
> over rdma(roce) reconnection, the reason is use the queue which is not
> alloced.
> 
> If it is not discovery and no io queues, the connection should fail.

If you're getting a timeout, we need to quit initialization. Hannes
attempted making that status visible for fabrics here:

  http://lists.infradead.org/pipermail/linux-nvme/2021-January/022353.html

There's still some corner cases that need handling, though.



More information about the Linux-nvme mailing list