]> www.infradead.org Git - nvme.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)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 Apr 2025 05:37:36 +0000 (07:37 +0200)
commit26d7fb4fd4ca1180e2fa96587dea544563b4962a
tree145e863c8fe01d26a21310b86aec7f9da2e32f76
parent0b7a4817756c7906d0a8112c953ce88d7cd8d4c6
nvme: fixup scan failure for non-ANA multipath controllers

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>
drivers/nvme/host/core.c