[dm-devel] [PATCH] rdac: Always fail paths when controller reports unavailable AAS

Stewart, Sean Sean.Stewart at netapp.com
Thu Aug 8 20:04:17 UTC 2013


The RDAC checker should always fail paths that report they are unavailable.
Previously, it only failed paths where the controller was in service mode, but 
in any case that reports an AAS of unavailable, the controller should not be 
used to service I/O.

Signed-off-by: Sean Stewart <Sean.Stewart at netapp.com>
---
diff --git a/libmultipath/checkers/rdac.c b/libmultipath/checkers/rdac.c
index 2e64dd3..b447c72 100644
--- a/libmultipath/checkers/rdac.c
+++ b/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;
 	}
--




More information about the dm-devel mailing list