[PATCH 2/2] nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info

Kanchan Joshi joshiiitr at gmail.com
Wed Feb 16 06:48:38 PST 2022


On Wed, Feb 16, 2022 at 7:46 PM Christoph Hellwig <hch at lst.de> wrote:
>
> Commit e7d65803e2bb ("nvme-multipath: revalidate paths during rescan")
> introduced the NVME_NS_READY flag, which nvme_path_is_disabled() uses
> to check if a path can be used or not.  We also need to set this flag
> for devices that fail the ZNS feature validation and which are available
> through passthrough devices only to that they can be used in multipathing
> setups.
>
> Fixes: e7d65803e2bb ("nvme-multipath: revalidate paths during rescan")
> Reported-by: Kanchan Joshi <joshi.k at samsung.com>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---

Looks good and works fine.
Tested-by: Kanchan Joshi <joshi.k at samsung.com>


-- 
Kanchan



More information about the Linux-nvme mailing list