summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>2008-07-10 23:55:49 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-26 19:14:37 (GMT)
commite5f5f6f72b10c4c6209f0522a7c5b27079d64429 (patch)
tree41b2addd52f655be73ffe70c0b71cf1c0ab80a49 /drivers/scsi/qla2xxx/qla_init.c
parent85821c906cf3563a00a3d98fa380a2581a7a5ff1 (diff)
downloadlinux-e5f5f6f72b10c4c6209f0522a7c5b27079d64429.tar.xz
[SCSI] qla2xxx: Track total number of ISP aborts.
This parameter counts the total number of ISP aborts during driver execution. The value is exported through a DEVICE_ATTR() off the scsi_host. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index c7388fa..833a642 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -3237,6 +3237,7 @@ qla2x00_abort_isp(scsi_qla_host_t *ha)
if (ha->flags.online) {
ha->flags.online = 0;
clear_bit(ISP_ABORT_NEEDED, &ha->dpc_flags);
+ ha->qla_stats.total_isp_aborts++;
qla_printk(KERN_INFO, ha,
"Performing ISP error recovery - ha= %p.\n", ha);