summaryrefslogtreecommitdiffstats
path: root/0065-UPBZ-995538-fail-rdac-on-unavailable.patch
blob: ca72b6139c75880e1c6f127c71abd3743d19b2a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
 libmultipath/checkers/rdac.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Index: multipath-tools-130222/libmultipath/checkers/rdac.c
===================================================================
--- multipath-tools-130222.orig/libmultipath/checkers/rdac.c
+++ multipath-tools-130222/libmultipath/checkers/rdac.c
@@ -222,10 +222,9 @@ libcheck_check (struct checker * c)
 		goto done;
 	}
 
-	/* check if controller is in service mode */
+	/* check if controller is reporting asymmetric access state of unavailable */
 	if ((inq.avtcvp & 0x10) &&
-	    ((inq.asym_access_state_cur & 0x0F) == 0x3) &&
-	    (inq.vendor_specific_cur == 0x7)) {
+	    ((inq.asym_access_state_cur & 0x0F) == 0x3)) {
 		ret = PATH_DOWN;
 		goto done;
 	}