changeset 10286:74dccb2b9732

6858408 mpathadm should show target port group access states (and target port groups)
author wl202157@icefox
date Mon, 10 Aug 2009 09:09:16 +0800
parents 8e0daec5f995
children 1399a0d7a410
files usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c	Sun Aug 09 09:31:03 2009 +0100
+++ b/usr/src/uts/common/io/scsi/adapters/scsi_vhci/mpapi_impl.c	Mon Aug 10 09:09:16 2009 +0800
@@ -2685,7 +2685,8 @@
 			    sizeof (lu->prop.deviceFileName));
 
 			if ((svl != NULL) &&
-			    SCSI_FAILOVER_IS_ASYM(svl)) {
+			    (SCSI_FAILOVER_IS_ASYM(svl) ||
+			    SCSI_FAILOVER_IS_TPGS(svl->svl_fops))) {
 				lu->prop.asymmetric = 1;
 			}