summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fnic/fnic_stats.h
diff options
context:
space:
mode:
authorSatish Kharat <satishkh@cisco.com>2017-03-01 01:15:44 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-03-23 14:57:23 +0100
commit39fcbbc01b89550ca527ea8d640e3af7bfde41d7 (patch)
tree1b3413f6e19727c6de1db261603b7fc06adae8b3 /drivers/scsi/fnic/fnic_stats.h
parentscsi: fnic: Avoid false out-of-order detection for aborted command (diff)
downloadlinux-39fcbbc01b89550ca527ea8d640e3af7bfde41d7.tar.xz
linux-39fcbbc01b89550ca527ea8d640e3af7bfde41d7.zip
scsi: fnic: Adding Check Condition counter to misc fnicstats
Just a simple counter of number of check conditions encountered on that host. Signed-off-by: Satish Kharat <satishkh@cisco.com> Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fnic/fnic_stats.h')
-rw-r--r--drivers/scsi/fnic/fnic_stats.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/fnic/fnic_stats.h b/drivers/scsi/fnic/fnic_stats.h
index 540cceb843cd..69acdac7fe53 100644
--- a/drivers/scsi/fnic/fnic_stats.h
+++ b/drivers/scsi/fnic/fnic_stats.h
@@ -88,6 +88,7 @@ struct misc_stats {
atomic64_t devrst_cpwq_alloc_failures;
atomic64_t io_cpwq_alloc_failures;
atomic64_t no_icmnd_itmf_cmpls;
+ atomic64_t check_condition;
atomic64_t queue_fulls;
atomic64_t rport_not_ready;
atomic64_t frame_errors;