4728c8
---
4728c8
 libmultipath/prioritizers/alua.c |    2 +-
4728c8
 1 file changed, 1 insertion(+), 1 deletion(-)
4728c8
4728c8
Index: multipath-tools-130222/libmultipath/prioritizers/alua.c
4728c8
===================================================================
4728c8
--- multipath-tools-130222.orig/libmultipath/prioritizers/alua.c
4728c8
+++ multipath-tools-130222/libmultipath/prioritizers/alua.c
4728c8
@@ -108,7 +108,7 @@ int getprio (struct path * pp, char * ar
4728c8
 			default:
4728c8
 				rc = 0;
4728c8
 		}
4728c8
-		if (priopath)
4728c8
+		if (priopath && aas != AAS_OPTIMIZED)
4728c8
 			rc += 80;
4728c8
 	} else {
4728c8
 		switch(-rc) {