[PATCH v4 4/8] nvme: always issue I/O Command Set specific Identify Namespace

Caleb Sander Mateos csander at purestorage.com
Thu Feb 26 13:06:03 PST 2026


On Thu, Feb 26, 2026 at 1:02 PM Keith Busch <kbusch at kernel.org> wrote:
>
> On Thu, Feb 26, 2026 at 12:04:11PM -0700, Caleb Sander Mateos wrote:
> > -     if (ns->ctrl->ctratt & NVME_CTRL_ATTR_ELBAS) {
> > -             ret = nvme_identify_ns_nvm(ns->ctrl, info->nsid, &nvm);
> > -             if (ret < 0)
> > -                     goto out;
> > -     }
> > +     ret = nvme_identify_ns_nvm(ns->ctrl, info->nsid, &nvm);
> > +     if (ret < 0)
> > +             goto out;
>
> I don't think we can do this identify unconditionally. The controller
> has to at least pass nvme_id_cns_ok().

Good point.

Thanks,
Caleb



More information about the Linux-nvme mailing list