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

Alexander Nezhinsky nezhinsky at gmail.com
Tue Jun 26 11:56:56 CEST 2012


Tomo,

Sorry for nagging, could you please look at the statistics patches sooner
than later.
I'm planning some more changes, it blocks that work.

Thanks
Alexander


On Wed, Jun 20, 2012 at 7:01 PM, Alexander Nezhinsky
<alexandern at mellanox.com> wrote:
>
> 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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list