diff options
author | Chad Dupuis <chad.dupuis@qlogic.com> | 2010-10-15 14:27:39 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-10-25 16:57:25 -0400 |
commit | 1e6d0670921ea4e736b172e9a3c32a2ba0c33f6a (patch) | |
tree | a8a89594c9b88a33a0e0d24dd79e7260c3125d39 /drivers/scsi/qla2xxx/qla_attr.c | |
parent | 542bce1f255673816e82eaebb422ead5ad3f5a17 (diff) |
[SCSI] qla2xxx: Remove port down retry count.
This patch removes the use of the port down retry counter as a mechanism to
update a fcport state. The internal driver counter is a residual carry-over
from pre-FC-transport aware driver inteaction. The ql2xport_down_retry module
parameter and NVRAM set ha->port_down_retry_count remain in order to seed the
fc-host's default dev-loss-tmo.
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 2ff4342ae362..a9ceb39751a1 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -1547,6 +1547,10 @@ qla2x00_dev_loss_tmo_callbk(struct fc_rport *rport) | |||
1547 | *((fc_port_t **)rport->dd_data) = NULL; | 1547 | *((fc_port_t **)rport->dd_data) = NULL; |
1548 | spin_unlock_irq(host->host_lock); | 1548 | spin_unlock_irq(host->host_lock); |
1549 | 1549 | ||
1550 | /* Now that the rport has been deleted, set the fcport state to | ||
1551 | FCS_DEVICE_DEAD */ | ||
1552 | atomic_set(&fcport->state, FCS_DEVICE_DEAD); | ||
1553 | |||
1550 | if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) | 1554 | if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) |
1551 | return; | 1555 | return; |
1552 | 1556 | ||