From: Mike Snitzer <[email protected]>

nvme: multipath: Change default of kernel NVMe multipath to be disabled

BZ: 1948690
Upstream Status: RHEL-only

Signed-off-by: Mike Snitzer <[email protected]>

rhel-8.git commit 8be4b84f8e35dc6e5453b72fe5e60acef795a299
Author: Ewan Milne <[email protected]>
Date:   Fri Mar 22 17:33:52 2019 -0400

    [nvme] nvme: multipath: Change default of kernel NVMe multipath to be 
disabled

    Message-id: <[email protected]>
    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 <[email protected]>
    RH-Acked-by: Mike Snitzer <[email protected]>

    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 <[email protected]>
    Signed-off-by: Herton R. Krzesinski <[email protected]>

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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to