[PATCH V6 1/2] nvme: enable char device per namespace
Javier González
javier at javigon.com
Tue Mar 9 21:18:41 GMT 2021
On 09.03.2021 16:05, Christoph Hellwig wrote:
>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.
Ok. Will look into it for the next iteration.
More information about the Linux-nvme
mailing list