From: Mike Snitzer <snitzer@xxxxxxxxxx> nvme: multipath: Change default of kernel NVMe multipath to be disabled BZ: 1948690 Upstream Status: RHEL-only Signed-off-by: Mike Snitzer <snitzer@xxxxxxxxxx> rhel-8.git commit 8be4b84f8e35dc6e5453b72fe5e60acef795a299 Author: Ewan Milne <emilne@xxxxxxxxxx> Date: Fri Mar 22 17:33:52 2019 -0400 [nvme] nvme: multipath: Change default of kernel NVMe multipath to be disabled Message-id: <20190322173354.8197-20-emilne@xxxxxxxxxx> Patchwork-id: 247393 O-Subject: [RHEL8.1 PATCH 19/21] nvme: multipath: Change default of kernel NVMe multipath to be disabled Bugzilla: 1690940 RH-Acked-by: Tony Camuso <tcamuso@xxxxxxxxxx> RH-Acked-by: Mike Snitzer <snitzer@xxxxxxxxxx> Now that CONFIG_NVME_MULTIPATH is enabled, make the default behavior of the kernel to be "disabled" for compatibility with earlier RHEL8. RHEL-only Signed-off-by: Ewan D. Milne <emilne@xxxxxxxxxx> Signed-off-by: Herton R. Krzesinski <herton@xxxxxxxxxx> diff a/drivers/nvme/host/multipath.c b/drivers/nvme/host/multipath.c --- a/drivers/nvme/host/multipath.c +++ b/drivers/nvme/host/multipath.c @@ -8,7 +8,11 @@ #include <trace/events/block.h> #include "nvme.h" +#ifdef CONFIG_RHEL_DIFFERENCES +static bool multipath = false; +#else static bool multipath = true; +#endif module_param(multipath, bool, 0444); MODULE_PARM_DESC(multipath, "turn on native support for multiple controllers per subsystem"); -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1024 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure