64b1cb0e21
Update Source to 0.7.7 * Previous patches 0001-0009 & 0018 are included in this commit Add upstream patches since 0.7.7 * patches 0001-0012 are from upstream commits since 0.7.7 Add 0015-mpathpersist-add-all_tg_pt-option.patch * add new all_tg_pt multpiath.conf option. posted upstream Add 0016-libmultipath-remove-rbd-code.patch * remove unused rbd code. posted upstream Add 0017-mpathpersist-fix-aptpl-support.patch * add ":aptpl" suffix for reservation_key to fix aptpl support. posted upstream Add 0018-multipath-don-t-check-timestamps-without-a-path.patch * fix multipath null dereference crash. posted upstream Add 0019-libmultipath-fix-detect-alua-corner-case.patch * fix alua detection with retain_hardware_handler set to off. posted upstream Add 0020-multipath-fix-setting-conf-version.patch * multipath wasn't setting the kernel version correctly. posted upstream Add 0028-RH-reset-default-find_mutipaths-value-to-off.patch * default to RHEL7 and older device detection style. Redhat specific, to keep customer experience the same. Rename files * Previous patches 0010-0011 are now patches 0013-0014 * Previous patches 0012-0017 & 0019 are now patches 0021-0027 Modify 0021-RH-fixup-udev-rules-for-redhat.patch * Fix spurious compile warning with redhat compile options
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Martin Wilck <mwilck@suse.com>
|
|
Date: Wed, 21 Mar 2018 10:34:18 +0100
|
|
Subject: [PATCH] libmultipath: don't reject maps with undefined prio
|
|
|
|
libmultipath's prio routines can deal with pp->priority == PRIO_UNDEF
|
|
just fine. PRIO_UNDEF is just a very low priority. So there's
|
|
no reason to reject setting up a multipath map because paths have
|
|
undefined priority.
|
|
|
|
Signed-off-by: Martin Wilck <mwilck@suse.com>
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
---
|
|
libmultipath/configure.c | 5 -----
|
|
1 file changed, 5 deletions(-)
|
|
|
|
diff --git a/libmultipath/configure.c b/libmultipath/configure.c
|
|
index 5796683..5c54f9b 100644
|
|
--- a/libmultipath/configure.c
|
|
+++ b/libmultipath/configure.c
|
|
@@ -1063,9 +1063,6 @@ int coalesce_paths (struct vectors * vecs, vector newmp, char * refwwid,
|
|
continue;
|
|
}
|
|
|
|
- if (pp1->priority == PRIO_UNDEF)
|
|
- mpp->action = ACT_REJECT;
|
|
-
|
|
if (!mpp->paths) {
|
|
condlog(0, "%s: skip coalesce (no paths)", mpp->alias);
|
|
remove_map(mpp, vecs, 0);
|
|
@@ -1091,8 +1088,6 @@ int coalesce_paths (struct vectors * vecs, vector newmp, char * refwwid,
|
|
mpp->size);
|
|
mpp->action = ACT_REJECT;
|
|
}
|
|
- if (pp2->priority == PRIO_UNDEF)
|
|
- mpp->action = ACT_REJECT;
|
|
}
|
|
verify_paths(mpp, vecs);
|
|
|
|
--
|
|
2.7.4
|
|
|