43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
From 7462caa4d81facc941bde362113c05ab4c4f04d7 Mon Sep 17 00:00:00 2001
|
|
From: openEuler Buildteam <buildteam@openeuler.org>
|
|
Date: Thu, 2 Jan 2020 15:34:13 +0800
|
|
Subject: [PATCH 12/15] device-mapper-multipath: fix find multipath failure
|
|
|
|
when DEFAULT_FIND_MULTIPATHS is FIND_MULTIPATHS_STRICT, it fail to
|
|
find multipath in find_multipaths function, use FIND_MULTIPATHS_OFF
|
|
instead of FIND_MULTIPATHS_STRICT.
|
|
---
|
|
libmultipath/defaults.h | 2 +-
|
|
multipath/multipath.conf.5 | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h
|
|
index a5e9ea0..514fd88 100644
|
|
--- a/libmultipath/defaults.h
|
|
+++ b/libmultipath/defaults.h
|
|
@@ -23,7 +23,7 @@
|
|
#define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF
|
|
#define DEFAULT_VERBOSITY 2
|
|
#define DEFAULT_REASSIGN_MAPS 0
|
|
-#define DEFAULT_FIND_MULTIPATHS FIND_MULTIPATHS_STRICT
|
|
+#define DEFAULT_FIND_MULTIPATHS FIND_MULTIPATHS_OFF
|
|
#define DEFAULT_FAST_IO_FAIL 5
|
|
#define DEFAULT_DEV_LOSS_TMO 600
|
|
#define DEFAULT_RETAIN_HWHANDLER RETAIN_HWHANDLER_ON
|
|
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
|
|
index 284282c..94acd44 100644
|
|
--- a/multipath/multipath.conf.5
|
|
+++ b/multipath/multipath.conf.5
|
|
@@ -1164,7 +1164,7 @@ as non-multipath and passed on to upper layers.
|
|
\fBNote:\fR this may cause delays during device detection if
|
|
there are single-path devices which aren\'t blacklisted.
|
|
.TP
|
|
-The default is: \fBstrict\fR
|
|
+The default is: \fBoff\fR
|
|
.RE
|
|
.
|
|
.
|
|
--
|
|
2.27.0
|
|
|