[PATCH V6 1/2] nvme: enable char device per namespace
Christoph Hellwig
hch at lst.de
Tue Mar 9 15:05:31 GMT 2021
On Tue, Mar 09, 2021 at 01:42:23PM +0100, Javier González wrote:
>> - nvme_cdev_fops implements file operations that directly on a nvme_ns,
>> so they are path specific
>
> This is correct.
>
>> - we allow opening them even for a hidden controller
>
> This is also correct.
>
>> - there does not seem to be a char device node for ns_head at all.
>
> Also correct.
>
> We tried to keep it simple in the first iteration. Am I understanding
> that you see necessary to have per ns_head char devices?
That would be my understanding of "multipath support" for this character
device, yes. Especially as hiding the individual char devices for the
hidden controllers once they are initially exposed would be an ABI break.
More information about the Linux-nvme
mailing list