summaryrefslogtreecommitdiffstats
path: root/0056-UP-alua-prio-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to '0056-UP-alua-prio-fix.patch')
-rw-r--r--0056-UP-alua-prio-fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/0056-UP-alua-prio-fix.patch b/0056-UP-alua-prio-fix.patch
new file mode 100644
index 0000000..0ac41ab
--- /dev/null
+++ b/0056-UP-alua-prio-fix.patch
@@ -0,0 +1,17 @@
+---
+ libmultipath/prioritizers/alua.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: multipath-tools-130222/libmultipath/prioritizers/alua.c
+===================================================================
+--- multipath-tools-130222.orig/libmultipath/prioritizers/alua.c
++++ multipath-tools-130222/libmultipath/prioritizers/alua.c
+@@ -108,7 +108,7 @@ int getprio (struct path * pp, char * ar
+ default:
+ rc = 0;
+ }
+- if (priopath)
++ if (priopath && aas != AAS_OPTIMIZED)
+ rc += 80;
+ } else {
+ switch(-rc) {