From: Alexander Nezhinsky <alexandern@xxxxxxxxxxxx> Add statistics on SCSI cmd execution. Reads and writes are counted separately. Total transfer in bytes 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 retrieved using a new --op stat applicable to various modes. When relevant, iscsi conn statistics (currently existing counters) is shown. iser connections accumulate statistics just as plain iscsi ones, counting rdma transfers as data-in and data-out depending on the direction. Alexander Nezhinsky (3): Add infrastructure for statistics on SCSI device level Show new statistics in various modes; integrate scsi and iscsi stats where relevant collect isci conn stats for iser connections usr/driver.h | 1 + usr/iscsi/conn.c | 26 ++++++++ usr/iscsi/iscsid.c | 33 +++------ usr/iscsi/iscsid.h | 4 ++ usr/iscsi/iser.c | 16 +++-- usr/iscsi/target.c | 165 ++++++++++++++++++++++++++++++++++++--------- usr/mgmt.c | 64 ++++++++++++++++++ usr/scsi.c | 18 ++++- usr/target.c | 188 +++++++++++++++++++++++++++++++++++++++++++--------- usr/target.h | 2 +- usr/tgtadm.c | 7 +- usr/tgtadm.h | 2 +- usr/tgtd.h | 36 +++++++++- 13 files changed, 464 insertions(+), 98 deletions(-) -- 1.7.9.5 -- 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