• Nicholas Bellinger's avatar
    target: Add counters for ABORT_TASK success + failure · c87ba9c4
    Nicholas Bellinger authored
    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: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    c87ba9c4
target_core_tmr.c 12.8 KB