[SCSI] qla2xxx: Mark all devices lost on loss of fc port.
authorSantosh Vernekar <santosh.vernekar@qlogic.com>
Fri, 31 Jul 2009 22:09:26 +0000 (15:09 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:17 +0000 (17:52 -0500)
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>
drivers/scsi/qla2xxx/qla_isr.c

index 00f23d20a983a6302226eaef883c00091f55506e..63e7cdce244c2e6f32f9c720964f83f7dfb4de9c 100644 (file)
@@ -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;