Re: [PATCHv2] nvme: disable namespaces with unsupported metadata
From: Keith Busch <kbusch@kernel.org> Date: 2021-11-29 22:33:59
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.