[PATCH] nvme: fix cntlid uniqueness check for different hosts

Christoph Hellwig hch at lst.de
Wed Sep 2 06:47:29 PDT 2026


On Sun, Aug 23, 2026 at 03:15:09AM +0300, Sagi Grimberg wrote:
> A single physical host may use a separate {hostnqn, hostid} identifiers
> when connecting to a controller.

Not really.  As the hostid defines a host.  Linux just might be able to
implement multiple hosts when it say hosts multiple containers.

> It is possible that the a distributed
> nvmf controller may generate unique cntlid per hostnqn and not globally
> unique. Hence, validate the cntlid is unique per nvmf host.

If it does so it is not spec compliant, and we should not support it.




More information about the Linux-nvme mailing list