]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] zfcp: Add some statistics provided by the FCP adapter to the sysfs
authorSwen Schillig <swen@vnet.ibm.com>
Thu, 24 Apr 2008 17:35:54 +0000 (19:35 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 27 Apr 2008 17:19:57 +0000 (12:19 -0500)
commit6d9d63b9480e1c7ea41845646de803c2d3f0eae2
treea24b809cff563313ae0309d023c30ac96f4b9a7f
parentec258fe4b76dba29e1a149cd8f23ee931b47afb2
[SCSI] zfcp: Add some statistics provided by the FCP adapter to the sysfs

The new FCP adapter statistics provide a variety of information about
the virtual adapter (subchannel). In order to collect this information
the zfcp driver is extended to query this information.

The information provided by the new FCP adapter statistics can be
fetched by reading from the following files in the sysfs filesystem

/sys/class/scsi_host/host<n>/seconds_active
/sys/class/scsi_host/host<n>/requests
/sys/class/scsi_host/host<n>/megabytes
/sys/class/scsi_host/host<n>/utilization

These are the statistics on a virtual adapter (subchannel) level.

The information provided is raw and not modified or interpreted by any
means.  No interpretation or modification of the values is done by the
zfcp driver.

Signed-off-by: Swen Schillig <swen@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_fsf.h
drivers/s390/scsi/zfcp_scsi.c