]> git.baikalelectronics.ru Git - kernel.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)
commit9d990150941c189393f5bb6f6d61c3a0f19568d3
treea24b809cff563313ae0309d023c30ac96f4b9a7f
parentf98c0bda0139aafa77d7cff94e1c8568268b5287
[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