scsi: fnic: Adding debug IO and Abort latency counter to fnic stats
authorSatish Kharat <satishkh@cisco.com>
Wed, 1 Mar 2017 00:15:59 +0000 (16:15 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 13:57:23 +0000 (09:57 -0400)
commit445d2960862eb3c972012bbbb9cf4ee338334b0a
tree0e2f4853b7baa7c1ae3caf623c82fd7ccda41f1d
parent39fcbbc01b89550ca527ea8d640e3af7bfde41d7
scsi: fnic: Adding debug IO and Abort latency counter to fnic stats

The IO and Abort latency counter counts the time taken to complete the
IO and abort command into broad buckets. This is not intended for
performance measurement, just a debug statistic.  current_max_io_time
tries to keep track of the maximum time an IO has taken to complete if
it is > 30sec.

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>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_scsi.c
drivers/scsi/fnic/fnic_stats.h
drivers/scsi/fnic/fnic_trace.c