[PATCH V2 1/1] nvme: introduce generic per-namespace chardev

Javier González javier.gonz at samsung.com
Thu Apr 8 08:11:28 BST 2021


On 07.04.2021 19:14, Christoph Hellwig wrote:
>On Thu, Apr 08, 2021 at 02:09:05AM +0900, Minwoo Im wrote:
>> On 21-04-07 18:48:18, Christoph Hellwig wrote:
>> > I've force pushed the branch with the updates, let me know if this
>> > looks good to you.
>>
>> One more thing I'd like to discuss is that the current branch does not
>> create generic cdev in case that nvme_update_ns_info fails.  And this is
>> the one of the use cases of the generic devices, so do you think it
>> should approach as an another patch ?  Or, should we make it supported
>> in the current patch ?
>
>It should create the ng devices when nvme_update_ns_info fais with
>-ENODEV, which should handle all the ZNS cases is was created.  Or did
>I mess that up?

This would be useful for devices with metadata that is not supported by
the block layer, i.e., nvme_configure_metadata().

What do you think?



More information about the Linux-nvme mailing list