aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorHarish Zunjarrao <harish.zunjarrao@qlogic.com>2008-07-10 19:55:49 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-07-26 15:14:37 -0400
commite5f5f6f72b10c4c6209f0522a7c5b27079d64429 (patch)
tree41b2addd52f655be73ffe70c0b71cf1c0ab80a49 /drivers/scsi/qla2xxx/qla_init.c
parent85821c906cf3563a00a3d98fa380a2581a7a5ff1 (diff)
[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 c7388fadf225..833a6429d9b9 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)
3237 if (ha->flags.online) { 3237 if (ha->flags.online) {
3238 ha->flags.online = 0; 3238 ha->flags.online = 0;
3239 clear_bit(ISP_ABORT_NEEDED, &ha->dpc_flags); 3239 clear_bit(ISP_ABORT_NEEDED, &ha->dpc_flags);
3240 ha->qla_stats.total_isp_aborts++;
3240 3241
3241 qla_printk(KERN_INFO, ha, 3242 qla_printk(KERN_INFO, ha,
3242 "Performing ISP error recovery - ha= %p.\n", ha); 3243 "Performing ISP error recovery - ha= %p.\n", ha);