aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSantosh Vernekar <santosh.vernekar@qlogic.com>2009-07-31 15:09:26 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-08-22 17:52:17 -0500
commitfaadc5e71cb69cff9c4517f7a4add97f92820120 (patch)
treebda0d9cff008c6095e0b3473205ae2a84e0fc87f /drivers
parent55903b9d152e91d4df2ab242c33efbd33e03e499 (diff)
[SCSI] qla2xxx: Mark all devices lost on loss of fc port.
Signed-off-by: Santosh Vernekar <santosh.vernekar@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 00f23d20a98..63e7cdce244 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -639,6 +639,7 @@ skip_rio:
atomic_set(&vha->vp_state, VP_FAILED);
fc_vport_set_state(vha->fc_vport,
FC_VPORT_FAILED);
+ qla2x00_mark_all_devices_lost(vha, 1);
}
vha->flags.management_server_logged_in = 0;