target: Add counters for ABORT_TASK success + failure
authorNicholas Bellinger <nab@daterainc.com>
Thu, 19 Jan 2017 23:45:57 +0000 (15:45 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 27 Feb 2017 00:21:06 +0000 (16:21 -0800)
This patch introduces two counters for ABORT_TASK success +
failure under:

   /sys/kernel/config/target/core/$HBA/$DEV/statistics/scsi_tgt_dev/

that are useful for diagnosing various backend device latency
and front fabric issues.

Normally when folks see alot of aborts_complete happening,
it means the backend device I/O completion latency is high,
and not returning completions fast enough before host side
timeouts trigger.

And normally when folks see alot of aborts_no_task, it means
completions are being posted by target-core into fabric driver
code, but the responses aren't making it back to the host.

Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found