[PATCH v2 3/5] nvmef: Introduce the NVME_OPT_HIDDEN_NS option
Damien Le Moal
dlemoal at kernel.org
Mon Oct 14 02:12:06 PDT 2024
On 10/14/24 17:42, Christoph Hellwig wrote:
> On Fri, Oct 11, 2024 at 09:19:49PM +0900, Damien Le Moal wrote:
>> Introduce the NVME fabrics option NVME_OPT_HIDDEN_NS to allow a host
>> controller to be created without any user visible or internally usable
>> namespace devices. That is, if set, this option will result in the
>> controller having no character device and no block device for any of its
>> namespaces.
>>
>> This option should be used only when the nvme controller will be
>> managed using passthrough commands using the controller character
>> device, either by the user or by another device driver.
>
> That doesn't make any sense whatsover. Why would you create a
> passthrough controller to support PCIe?
PCIe is handled by the PCI endpoint driver and that driver only passes the nvme
commands it gets to the local fabrics controller that is being used (which can
be a loopback or tcp or whatever nvmf supports).
--
Damien Le Moal
Western Digital Research
More information about the Linux-nvme
mailing list