linux-hardened/drivers/s390/scsi
Christof Schmitt 3a0d9e9235 [SCSI] zfcp: sysfs attributes for fabric and channel latencies
The latency information is provided on a SCSI device level (LUN)
which can be found at the following location

 /sys/class/scsi_device/<H:C:T:L>/device/cmd_latency
 /sys/class/scsi_device/<H:C:T:L>/device/read_latency
 /sys/class/scsi_device/<H:C:T:L>/device/write_latency

Each sysfs attribute provides the available data: min, max and sum for
fabric and channel latency and the number of requests processed.

An overrun of the variables is neither detected nor treated.  The file
has to be read twice to make a meaningful statement, because only the
differences of the values between the two reads can be used.  A reset
of the values can be achieved by writing to the attribute.

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>
2008-06-05 09:23:44 -05:00
..
Makefile [SCSI] zfcp: enhancement of zfcp debug features 2005-09-19 13:03:00 -05:00
zfcp_aux.c [SCSI] zfcp: Track fabric and channel latencies provided by FCP adapter 2008-06-05 09:23:42 -05:00
zfcp_ccw.c [SCSI] zfcp: fix 31 bit compile warnings 2008-04-18 11:50:17 -05:00
zfcp_dbf.c [SCSI] Let scsi_cmnd->cmnd use request->cmd buffer 2008-05-02 10:18:22 -05:00
zfcp_dbf.h [SCSI] zfcp: fix compiler warning caused by poking inside new semaphore (linux-next) 2008-04-17 12:56:49 -05:00
zfcp_def.h [SCSI] zfcp: Track fabric and channel latencies provided by FCP adapter 2008-06-05 09:23:42 -05:00
zfcp_erp.c [SCSI] zfcp: fix 31 bit compile warnings 2008-04-18 11:50:17 -05:00
zfcp_ext.h [SCSI] zfcp: fix 31 bit compile warnings 2008-04-18 11:50:17 -05:00
zfcp_fsf.c [SCSI] zfcp: Track fabric and channel latencies provided by FCP adapter 2008-06-05 09:23:42 -05:00
zfcp_fsf.h [SCSI] zfcp: Track fabric and channel latencies provided by FCP adapter 2008-06-05 09:23:42 -05:00
zfcp_qdio.c [SCSI] zfcp: fix 31 bit compile warnings 2008-04-18 11:50:17 -05:00
zfcp_scsi.c [SCSI] zfcp: sysfs attributes for fabric and channel latencies 2008-06-05 09:23:44 -05:00
zfcp_sysfs_adapter.c [SCSI] zfcp: fix 31 bit compile warnings 2008-04-18 11:50:17 -05:00
zfcp_sysfs_driver.c zfcp: Use device_driver default attribute groups. 2008-01-24 20:40:34 -08:00
zfcp_sysfs_port.c [SCSI] zfcp: fix 31 bit compile warnings 2008-04-18 11:50:17 -05:00
zfcp_sysfs_unit.c [SCSI] zfcp: fix 31 bit compile warnings 2008-04-18 11:50:17 -05:00