Skip to content

Commit

Permalink
nvme: update the multipath warning in nvme_init_ns_head
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Meneghini authored and Keith Busch committed Apr 1, 2025
1 parent 38808af commit 47f8cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nvme/host/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down

0 comments on commit 47f8cc9

Please sign in to comment.