]> www.infradead.org Git - nvme.git/commitdiff
nvme: update the multipath warning in nvme_init_ns_head
authorJohn Meneghini <jmeneghi@redhat.com>
Sat, 22 Mar 2025 23:28:48 +0000 (19:28 -0400)
committerKeith Busch <kbusch@kernel.org>
Mon, 31 Mar 2025 15:48:25 +0000 (08:48 -0700)
The new NVME_MULTIPATH_PARAM config option requires updates
to the warning message in nvme_init_ns_head().

Signed-off-by: John Meneghini <jmeneghi@redhat.com>
Tested-by: John Meneghini <jmeneghi@redhat.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/core.c

index 777db89fdaa72ad3de42de2c24ffc74b14564799..5ffc8f23a17404fe4355f301951b2388a975b304 100644 (file)
@@ -3822,7 +3822,7 @@ static int nvme_init_ns_head(struct nvme_ns *ns, struct nvme_ns_info *info)
                                "Found shared namespace %d, but multipathing not supported.\n",
                                info->nsid);
                        dev_warn_once(ctrl->device,
-                               "Support for shared namespaces without CONFIG_NVME_MULTIPATH is deprecated and will be removed in Linux 6.0.\n");
+                               "Shared namespace support requires core_nvme.multipath=Y.\n");
                }
        }