From 3e32390df928d360de3a8b9d44c4c9bd0706e7a9 Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Wed, 8 Jun 2022 15:30:33 -0500 Subject: [PATCH] device-mapper-multipath-0.8.7-10 Add 0058-libmultipath-unset-detect_checker-for-clariion-Unity.patch Resolves: bz #2090913 --- ...et-detect_checker-for-clariion-Unity.patch | 30 +++++++++++++++++++ device-mapper-multipath.spec | 7 ++++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 0058-libmultipath-unset-detect_checker-for-clariion-Unity.patch diff --git a/0058-libmultipath-unset-detect_checker-for-clariion-Unity.patch b/0058-libmultipath-unset-detect_checker-for-clariion-Unity.patch new file mode 100644 index 0000000..2186f82 --- /dev/null +++ b/0058-libmultipath-unset-detect_checker-for-clariion-Unity.patch @@ -0,0 +1,30 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Benjamin Marzinski +Date: Tue, 10 May 2022 14:17:22 -0500 +Subject: [PATCH] libmultipath: unset detect_checker for clariion / Unity + arrays + +Dell EMC would like to always use the emc_clariion checker. Currently +detect_checker will switch the checker to TUR for Unity arrays. +This can cause problems on some setups with replicated Unity LUNs, +which are handled correctly the the emc_checker, but not the TUR +checker. + +Cc: vincent.chen1@dell.com +Signed-off-by: Benjamin Marzinski +--- + libmultipath/hwtable.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c +index d7c487b1..22ff1881 100644 +--- a/libmultipath/hwtable.c ++++ b/libmultipath/hwtable.c +@@ -343,6 +343,7 @@ static struct hwentry default_hw[] = { + .no_path_retry = (300 / DEFAULT_CHECKINT), + .checker_name = EMC_CLARIION, + .prio_name = PRIO_EMC, ++ .detect_checker = DETECT_CHECKER_OFF, + }, + { + /* Invista / VPLEX */ diff --git a/device-mapper-multipath.spec b/device-mapper-multipath.spec index f2c21af..fcd2ef0 100644 --- a/device-mapper-multipath.spec +++ b/device-mapper-multipath.spec @@ -1,6 +1,6 @@ Name: device-mapper-multipath Version: 0.8.7 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Tools to manage multipath devices using device-mapper License: GPLv2 URL: http://christophe.varoqui.free.fr/ @@ -67,6 +67,7 @@ Patch0054: 0054-libmultipath-fix-eh_deadline-documentation.patch Patch0055: 0055-libmultipath-Add-documentation-for-the-protocol-subs.patch Patch0056: 0056-libmultipath-use-symbolic-value-for-invalid-pcentry.patch Patch0057: 0057-updated-HPE-MSA-builtin-config.patch +Patch0058: 0058-libmultipath-unset-detect_checker-for-clariion-Unity.patch # runtime @@ -266,6 +267,10 @@ fi %{_pkgconfdir}/libdmmp.pc %changelog +* Wed Jun 8 2022 Benjamin Marzinski - 0.8.7-10 +- Add 0058-libmultipath-unset-detect_checker-for-clariion-Unity.patch +- Resolves: bz #2090913 + * Mon May 16 2022 Benjamin Marzinski - 0.8.7-9 - Add 0045-multipath-tools-update-mpp-force_readonly-in-ev_add_.patch * Fixes bz #2084356