[stgt] [PATCH RESEND 0/3] Add SCSI cmd statistics per ITL nexus
ronniesahlberg at gmail.com
Wed Jul 18 00:31:41 CEST 2012
Since all media access commands take a 5 bit groupnumber for this
we should make sure that the stats are collected into 32 different
buckets depending of the group number in the CDB
On Wed, Jul 18, 2012 at 8:04 AM, FUJITA Tomonori
<fujita.tomonori at lab.ntt.co.jp> wrote:
> On Wed, 18 Jul 2012 00:55:43 +0300
> nezhinsky at gmail.com wrote:
>> From: Alexander Nezhinsky <alexandern at mellanox.com>
>> 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(-)
> I got many checkpatch errors on them. Please fix them.
> To unsubscribe from this list: send the line "unsubscribe stgt" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt