[PATCH] nvme: Force ns info updates on validation if NID is bogus

Christoph Hellwig hch at lst.de
Thu Sep 12 02:40:20 PDT 2024


On Tue, Sep 10, 2024 at 05:50:06PM +0800, Yihan Xin wrote:
> When validating a namespace, nvme_update_ns_info()
> would be skipped if nsid changed. However, this
> happens everytime the in-use controller is
> reattached if NID is bogus, causing nsid not being
> restored to the previous one, eg /dev/nvme0n2 ->
> /dev/nvme0n1.

What do you mean with restoring the nsid?




More information about the Linux-nvme mailing list