Re: [PATCH] nvme: Force ns info updates on validation if NID is bogus
From: Christoph Hellwig
Date: Thu Sep 12 2024 - 05:40:29 EST
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?