[SCSI] zfcp: add measurement data for average qdio queue utilisation
authorMartin Peschke <mpeschke@linux.vnet.ibm.com>
Mon, 2 Mar 2009 12:08:56 +0000 (13:08 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:18 +0000 (12:58 -0500)
commit94506fd1483b39cd5d66b8ccb4ead3c9cc9542ac
treebb4cc68021eb831b3cab561810a19bdc24993586
parent86f8a1b4b472e4b2b58df5826709d4797d84d46f
[SCSI] zfcp: add measurement data for average qdio queue utilisation

Provide measurement data for the utilisation of the QDIO outbound queue.
The additional value allows to calculate an average queue utilisation
by looking at the deltas per time unit. Needed for capacity planning.
It is up to user space to handle wrap-arounds of the 64 bit value.

The new counter neatly complements the existing counter for queue full
conditions. That is why, both statistics counter have been integrated.

Signed-off-by: Martin Peschke <mpeschke@linux.vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_qdio.c
drivers/s390/scsi/zfcp_sysfs.c