Re: [PATCH v3 4/8] nvme: always issue I/O Command Set specific Identify Namespace
From: Caleb Sander Mateos
Date: Thu Feb 26 2026 - 13:57:21 EST
On Tue, Feb 24, 2026 at 10:51 AM Keith Busch <kbusch@xxxxxxxxxx> wrote:
>
> On Tue, Feb 24, 2026 at 10:14:33AM -0700, Caleb Sander Mateos wrote:
> >
> > - if (ns->ctrl->ctratt & NVME_CTRL_ATTR_ELBAS) {
> > + if (ns->ctrl->vs >= NVME_VS(2, 0, 0)) {
> > ret = nvme_identify_ns_nvm(ns->ctrl, info->nsid, &nvm);
>
> NVMe allows older spec compliant devices to implement features that came
> later, so I think you need to keep the old condition as an option in
> case there's a 1.4 controller with extended LBA formats.
Sure, I'll change it to issue the Identify command unconditionally.
Thanks,
Caleb