]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvme: fixup scan failure for non-ANA multipath controllers
authorHannes Reinecke <hare@kernel.org>
Mon, 14 Apr 2025 12:05:09 +0000 (14:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:44:40 +0000 (07:44 +0200)
commit1f7fb4247d905313e186a268475b4b62e350f1de
tree745c5978ee9793b1c8ea22d8c38b872c984f9d85
parentd2e15c2fd9130db1e9845ccb006fd0e5218ac0a5
nvme: fixup scan failure for non-ANA multipath controllers

commit 26d7fb4fd4ca1180e2fa96587dea544563b4962a upstream.

Commit 62baf70c3274 caused the ANA log page to be re-read, even on
controllers that do not support ANA.  While this should generally
harmless, some controllers hang on the unsupported log page and
never finish probing.

Fixes: 62baf70c3274 ("nvme: re-read ANA log page after ns scan completes")
Signed-off-by: Hannes Reinecke <hare@kernel.org>
Tested-by: Srikanth Aithal <sraithal@amd.com>
[hch: more detailed commit message]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvme/host/core.c