From ff8b7ea523303b859ef9d1c286f4b23363e76a33 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 6 Jan 2011 13:30:45 +0000 Subject: [PATCH] Revert excessive marking devices lost to what the mainline qla2xxx is doing. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3196 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla_os.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qla2x00t/qla_os.c b/qla2x00t/qla_os.c index 95f80f234..b3ae52c17 100644 --- a/qla2x00t/qla_os.c +++ b/qla2x00t/qla_os.c @@ -2225,10 +2225,8 @@ qla2x00_mark_all_devices_lost(scsi_qla_host_t *ha, int defer) scsi_qla_host_t *pha = to_qla_parent(ha); list_for_each_entry_rcu(fcport, &pha->fcports, list) { -#ifndef CONFIG_SCSI_QLA2XXX_TARGET if (ha->vp_idx != 0 && ha->vp_idx != fcport->vp_idx) continue; -#endif /* * No point in marking the device as lost, if the device is * already DEAD. @@ -2243,9 +2241,6 @@ qla2x00_mark_all_devices_lost(scsi_qla_host_t *ha, int defer) } atomic_set(&fcport->state, FCS_DEVICE_LOST); } - - if (defer) - qla2xxx_wake_dpc(ha); } /*