[PATCH] nvme: disable namespaces with unsupported metadata
Max Gurtovoy
mgurtovoy at nvidia.com
Wed Nov 24 01:29:18 PST 2021
On 11/23/2021 11:10 PM, Keith Busch wrote:
> On Tue, Nov 23, 2021 at 09:45:54AM -0800, Keith Busch wrote:
>> The only fabrics target that supports metadata is RDMA and usable only
> Sorry, the above should have said:
>
> "The only fabrics host driver that currently supports metadata is ..."
>
> I believe the spec allows all transports to support any arbitrary
> metadata format. The drivers just currently aren't able to, and we can
> update this path as they become more capable.
>
>> if it is 8B per block, and formatted for protection information. If an
>> rdma target were to export a namespace with a different format (ex:
>> 4k+64B), the driver will not be able to submit a valid command for that
>> format.
>>
>> Suppress exporting these namespaces as read/writeable to the block
>> stack.
Looks good,
Reviewed-by: Max Gurtovoy <mgurtovoy at nvidia.com>
More information about the Linux-nvme
mailing list