From: Mike Snitzer <snitzer(a)redhat.com>
Revert "nvme: multipath: Change default of kernel NVMe multipath to be
disabled"
This reverts commit 81cf9b7d49bb0a3786746e73d3090d97cefe301e.
The RHEL9 default will be native NVMe multipath _but_ RHEL9 will also
allow the ability to easily use dm-multipath on NVMe (by carrying
RHEL-only enablement) if nvme_core.multipath=N is set on the kernel
commandline.
Signed-off-by: Mike Snitzer <snitzer(a)redhat.com>
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,11 +8,7 @@
#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/1104