Comment 20 for bug 1857152

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Should be fixed by this commit:
commit 22802bf742c25b1e2473c70b3b99da98af65ef4d
Author: Keith Busch <email address hidden>
Date: Tue Dec 3 00:44:59 2019 +0900

    nvme: Namepace identification descriptor list is optional

    Despite NVM Express specification 1.3 requires a controller claiming to
    be 1.3 or higher implement Identify CNS 03h (Namespace Identification
    Descriptor list), the driver doesn't really need this identification in
    order to use a namespace. The code had already documented in comments
    that we're not to consider an error to this command.

    Return success if the controller provided any response to an
    namespace identification descriptors command.

    Fixes: 538af88ea7d9de24 ("nvme: make nvme_report_ns_ids propagate error back")
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=205679
    Reported-by: Ingo Brunberg <email address hidden>
    Cc: Sagi Grimberg <email address hidden>
    Cc: <email address hidden> # 5.4+
    Reviewed-by: Christoph Hellwig <email address hidden>
    Signed-off-by: Keith Busch <email address hidden>

It's in upstream stable kernel so we'll get this update soon.