[PATCH 0/2] Add SCSI cmd statistics per ITL nexus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add statistics on SCSI cmd execution. Reads and writes are counted separately.
Total transfer in sectors and total number of commands are accummulated.
Number of commands submitted for execution to backing-store are counted
separately from the number of commands completed. This may provide some clues
on the i/o queues length, as well as some debugging information.

Stat info is requested using a new --op stat applicable to various modes.
When relevant, iscsi conn statistics (currently existing counters) is shown.

Alexander Nezhinsky (2):
  Add infrastructure for statistics on SCSI device level
  Show new statistics in various modes; integrate scsi and iscsi stats
    where relevant

 usr/driver.h       |    1 +
 usr/iscsi/iscsid.c |    1 +
 usr/iscsi/iscsid.h |    2 +
 usr/iscsi/iser.c   |    1 +
 usr/iscsi/target.c |  165 ++++++++++++++++++++++++++++++++++++++++++----------
 usr/mgmt.c         |   64 ++++++++++++++++++++
 usr/scsi.c         |   16 +++++-
 usr/target.c       |  164 +++++++++++++++++++++++++++++++++++++++++++++-------
 usr/tgtadm.c       |    7 ++-
 usr/tgtadm.h       |    2 +-
 usr/tgtd.h         |   36 +++++++++++-
 11 files changed, 403 insertions(+), 56 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux