summaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2008-04-24 19:35:54 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-27 19:19:57 +0200
commit6d9d63b9480e1c7ea41845646de803c2d3f0eae2 (patch)
treea24b809cff563313ae0309d023c30ac96f4b9a7f /block/blk-settings.c
parent[SCSI] zfcp: Print some messages only during ERP (diff)
downloadlinux-6d9d63b9480e1c7ea41845646de803c2d3f0eae2.tar.xz
linux-6d9d63b9480e1c7ea41845646de803c2d3f0eae2.zip
[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>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions