diff options
author | Chris Liu <Chris.Liu@Sun.COM> | 2009-05-20 16:04:24 +0800 |
---|---|---|
committer | Chris Liu <Chris.Liu@Sun.COM> | 2009-05-20 16:04:24 +0800 |
commit | b0de01ca41d65f7e8fb07b234ed373daca1be8af (patch) | |
tree | 4ce3e986c2c288a21ee366721cee93eb4adc9a12 /usr/src | |
parent | 5321cfb734b02bb580e9ecd9ec0e7f5e53571e23 (diff) | |
download | illumos-gate-b0de01ca41d65f7e8fb07b234ed373daca1be8af.tar.gz |
6661528 With mpt patch 125081-14 installed, a server reboot cause error messages and volume failover on 6540
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/io/scsi/adapters/scsi_vhci/scsi_vhci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/scsi/adapters/scsi_vhci/scsi_vhci.c b/usr/src/uts/common/io/scsi/adapters/scsi_vhci/scsi_vhci.c index 812d3b2d48..aeadd23ef5 100644 --- a/usr/src/uts/common/io/scsi/adapters/scsi_vhci/scsi_vhci.c +++ b/usr/src/uts/common/io/scsi/adapters/scsi_vhci/scsi_vhci.c @@ -4741,8 +4741,7 @@ vhci_update_pathinfo(struct scsi_device *psd, mdi_pathinfo_t *pip, vlun->svl_fops_ctpriv); if (((vhci->vhci_conf_flags & VHCI_CONF_FLAGS_AUTO_FAILBACK) == VHCI_CONF_FLAGS_AUTO_FAILBACK) && - ((strcmp(pclass, best_pclass) == 0) || - mdi_pi_get_preferred(pip) == 1) && + (strcmp(pclass, best_pclass) == 0) && ((MDI_PI_OLD_STATE(pip) == MDI_PATHINFO_STATE_OFFLINE)|| (MDI_PI_OLD_STATE(pip) == MDI_PATHINFO_STATE_INIT))) { VHCI_DEBUG(1, (CE_NOTE, NULL, "%s pathclass path: %p" |