summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-02-16 16:14:58 +0300
committerChristoph Hellwig <hch@lst.de>2022-02-23 16:42:58 +0300
commit602e57c9799c19f27e440639deed3ec45cfe1651 (patch)
tree87156213e9e1edee7f3507465aa3c89dee04fb8d /include/linux
parent363f6368603743072e5f318c668c632bccb097a3 (diff)
downloadlinux-602e57c9799c19f27e440639deed3ec45cfe1651.tar.xz
nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info
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@samsung.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Daniel Wagner <dwagner@suse.de> Tested-by: Kanchan Joshi <joshi.k@samsung.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions