---------------------------------------------------------------------------------------------- - Update to version 0.8.2+26+suse.d884195: - Don't activate NVMe native multipath support by default * multipath.conf.5: document foreign library support * multipath.conf: add "enable_foreign" parameter (bsc#1139837) * Set default for "enable_foreign" to "NONE" (bsc#1139837) added libmultipath-set-enable_foreign-to-NONE-by-default.patch - Added reviewed upstream patches * multipath: update man pages * multipathd: use marginal_pathgroups * libmutipath: deprecate delay_*_checks * libmultipath: add marginal_pathgroups config option * tests: add tests for grouping marginal paths. * libmultipath: make group_paths handle marginal paths * libmultipath: make pgpolicyfn take a paths vector * libmultipath: consolidate group_by_* functions * libmultipath: fix double free in pgpolicyfn error paths * tests: update pgpolicy tests to work with group_paths() * libmultipath: add wrapper function around pgpolicyfn * tests: add path grouping policy unit tests. * libmultipath: add marginal paths and groups infrastructure added basic NVMe ANA support (bsc#1119898, bsc#1118495) OBS-URL: https://build.opensuse.org/request/show/726966 OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=201
48 lines
1.6 KiB
Diff
48 lines
1.6 KiB
Diff
From f6dc0d0901ba6e22dae1d0b95b9e4e1ce6b4c386 Mon Sep 17 00:00:00 2001
|
|
From: Martin Wilck <mwilck@suse.com>
|
|
Date: Wed, 21 Aug 2019 16:07:12 +0200
|
|
Subject: [PATCH] libmultipath: set "enable_foreign" to NONE by default
|
|
|
|
This has been requested by NetApp.
|
|
---
|
|
libmultipath/defaults.h | 4 ++--
|
|
multipath/multipath.conf.5 | 5 +++--
|
|
2 files changed, 5 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h
|
|
index eea299c5..3fd4fcbd 100644
|
|
--- a/libmultipath/defaults.h
|
|
+++ b/libmultipath/defaults.h
|
|
@@ -45,8 +45,8 @@
|
|
#define DEFAULT_FIND_MULTIPATHS_TIMEOUT -10
|
|
#define DEFAULT_UNKNOWN_FIND_MULTIPATHS_TIMEOUT 1
|
|
#define DEFAULT_ALL_TG_PT ALL_TG_PT_OFF
|
|
-/* Enable all foreign libraries by default */
|
|
-#define DEFAULT_ENABLE_FOREIGN ""
|
|
+/* Enable no foreign libraries by default */
|
|
+#define DEFAULT_ENABLE_FOREIGN "NONE"
|
|
|
|
#define CHECKINT_UNDEF (~0U)
|
|
#define DEFAULT_CHECKINT 5
|
|
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
|
|
index 2d8399ea..608178b6 100644
|
|
--- a/multipath/multipath.conf.5
|
|
+++ b/multipath/multipath.conf.5
|
|
@@ -1203,10 +1203,11 @@ Enables or disables foreign libraries (see section
|
|
.I FOREIGN MULTIPATH SUPPORT
|
|
below). The value is a regular expression; foreign libraries are loaded
|
|
if their name (e.g. \(dqnvme\(dq) matches the expression. By default,
|
|
-all foreign libraries are enabled.
|
|
+no foreign libraries are enabled. Set this to \(dqnvme\(dq to enable NVMe native
|
|
+multipath support, or \(dq.*\(dq to enable all foreign libraries.
|
|
.RS
|
|
.TP
|
|
-The default is: \fB\(dq\(dq\fR (the empty regular expression)
|
|
+The default is: \fB\(dqNONE\(dq\fR
|
|
.RE
|
|
.
|
|
.
|
|
--
|
|
2.22.0
|
|
|