[PATCH] nvme: disable namespaces with unsupported metadata

Keith Busch kbusch at kernel.org
Tue Nov 23 13:10:29 PST 2021


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.



More information about the Linux-nvme mailing list