[PATCHv2] nvme: disable namespaces with unsupported metadata
Keith Busch
kbusch at kernel.org
Mon Nov 29 14:33:42 PST 2021
On Mon, Nov 29, 2021 at 08:07:12AM -0800, Keith Busch wrote:
> + if (ctrl->max_integrity_segments && nvme_ns_has_pi(ns))
> ns->features |=
> (NVME_NS_METADATA_SUPPORTED | NVME_NS_EXT_LBAS);
Apparently the passthrough interface works fine for any arbitrary
metadata format, so looks like we should leave NVME_NS_EXT_LBAS flag set
for all transports. I'll need to send a v3.
More information about the Linux-nvme
mailing list