105545c92SSeymour, Shane MWhat:           /sys/class/scsi_tape/*/stats/in_flight
205545c92SSeymour, Shane MDate:           Apr 2015
305545c92SSeymour, Shane MKernelVersion:  4.2
405545c92SSeymour, Shane MContact:        Shane Seymour <shane.seymour@hp.com>
505545c92SSeymour, Shane MDescription:
605545c92SSeymour, Shane M		Show the number of I/Os currently in-flight between the st
705545c92SSeymour, Shane M		module and the SCSI mid-layer.
805545c92SSeymour, Shane MUsers:
905545c92SSeymour, Shane M
1005545c92SSeymour, Shane M
1105545c92SSeymour, Shane MWhat:           /sys/class/scsi_tape/*/stats/io_ns
1205545c92SSeymour, Shane MDate:           Apr 2015
1305545c92SSeymour, Shane MKernelVersion:  4.2
1405545c92SSeymour, Shane MContact:        Shane Seymour <shane.seymour@hp.com>
1505545c92SSeymour, Shane MDescription:
1605545c92SSeymour, Shane M		Shows the total amount of time spent waiting for all I/O
1705545c92SSeymour, Shane M                to and from the tape drive to complete. This includes all
1805545c92SSeymour, Shane M                reads, writes, and other SCSI commands issued to the tape
1905545c92SSeymour, Shane M                drive. An example of other SCSI commands would be tape
2005545c92SSeymour, Shane M                movement such as a rewind when a rewind tape device is
2105545c92SSeymour, Shane M                closed. This item is measured in nanoseconds.
2205545c92SSeymour, Shane M
2305545c92SSeymour, Shane M                To determine the amount of time spent waiting for other I/O
2405545c92SSeymour, Shane M                to complete subtract read_ns and write_ns from this value.
2505545c92SSeymour, Shane MUsers:
2605545c92SSeymour, Shane M
2705545c92SSeymour, Shane M
2805545c92SSeymour, Shane MWhat:           /sys/class/scsi_tape/*/stats/other_cnt
2905545c92SSeymour, Shane MDate:           Apr 2015
3005545c92SSeymour, Shane MKernelVersion:  4.2
3105545c92SSeymour, Shane MContact:        Shane Seymour <shane.seymour@hp.com>
3205545c92SSeymour, Shane MDescription:
3305545c92SSeymour, Shane M		The number of I/O requests issued to the tape drive other
3405545c92SSeymour, Shane M		than SCSI read/write requests.
3505545c92SSeymour, Shane MUsers:
3605545c92SSeymour, Shane M
3705545c92SSeymour, Shane M
3805545c92SSeymour, Shane MWhat:           /sys/class/scsi_tape/*/stats/read_byte_cnt
3905545c92SSeymour, Shane MDate:           Apr 2015
4005545c92SSeymour, Shane MKernelVersion:  4.2
4105545c92SSeymour, Shane MContact:        Shane Seymour <shane.seymour@hp.com>
4205545c92SSeymour, Shane MDescription:
4305545c92SSeymour, Shane M		Shows the total number of bytes requested from the tape drive.
4405545c92SSeymour, Shane M		This value is presented in bytes because tape drives support
4505545c92SSeymour, Shane M		variable length block sizes.
4605545c92SSeymour, Shane MUsers:
4705545c92SSeymour, Shane M
4805545c92SSeymour, Shane M
4905545c92SSeymour, Shane MWhat:           /sys/class/scsi_tape/*/stats/read_cnt
5005545c92SSeymour, Shane MDate:           Apr 2015
5105545c92SSeymour, Shane MKernelVersion:  4.2
5205545c92SSeymour, Shane MContact:        Shane Seymour <shane.seymour@hp.com>
5305545c92SSeymour, Shane MDescription:
5405545c92SSeymour, Shane M		Shows the total number of read requests issued to the tape
5505545c92SSeymour, Shane M		drive.
5605545c92SSeymour, Shane MUsers:
5705545c92SSeymour, Shane M
5805545c92SSeymour, Shane M
5905545c92SSeymour, Shane MWhat:           /sys/class/scsi_tape/*/stats/read_ns
6005545c92SSeymour, Shane MDate:           Apr 2015
6105545c92SSeymour, Shane MKernelVersion:  4.2
6205545c92SSeymour, Shane MContact:        Shane Seymour <shane.seymour@hp.com>
6305545c92SSeymour, Shane MDescription:
6405545c92SSeymour, Shane M		Shows the total amount of time in nanoseconds waiting for
6505545c92SSeymour, Shane M		read I/O requests to complete.
6605545c92SSeymour, Shane MUsers:
6705545c92SSeymour, Shane M
6805545c92SSeymour, Shane M
6905545c92SSeymour, Shane MWhat:           /sys/class/scsi_tape/*/stats/write_byte_cnt
7005545c92SSeymour, Shane MDate:           Apr 2015
7105545c92SSeymour, Shane MKernelVersion:  4.2
7205545c92SSeymour, Shane MContact:        Shane Seymour <shane.seymour@hp.com>
7305545c92SSeymour, Shane MDescription:
7405545c92SSeymour, Shane M		Shows the total number of bytes written to the tape drive.
7505545c92SSeymour, Shane M		This value is presented in bytes because tape drives support
7605545c92SSeymour, Shane M		variable length block sizes.
7705545c92SSeymour, Shane MUsers:
7805545c92SSeymour, Shane M
7905545c92SSeymour, Shane M
8005545c92SSeymour, Shane MWhat:           /sys/class/scsi_tape/*/stats/write_cnt
8105545c92SSeymour, Shane MDate:           Apr 2015
8205545c92SSeymour, Shane MKernelVersion:  4.2
8305545c92SSeymour, Shane MContact:        Shane Seymour <shane.seymour@hp.com>
8405545c92SSeymour, Shane MDescription:
8505545c92SSeymour, Shane M		Shows the total number of write requests issued to the tape
8605545c92SSeymour, Shane M		drive.
8705545c92SSeymour, Shane MUsers:
8805545c92SSeymour, Shane M
8905545c92SSeymour, Shane M
9005545c92SSeymour, Shane MWhat:           /sys/class/scsi_tape/*/stats/write_ms
9105545c92SSeymour, Shane MDate:           Apr 2015
9205545c92SSeymour, Shane MKernelVersion:  4.2
9305545c92SSeymour, Shane MContact:        Shane Seymour <shane.seymour@hp.com>
9405545c92SSeymour, Shane MDescription:
9505545c92SSeymour, Shane M		Shows the total amount of time in nanoseconds waiting for
9605545c92SSeymour, Shane M		write I/O requests to complete.
9705545c92SSeymour, Shane MUsers:
9805545c92SSeymour, Shane M
9905545c92SSeymour, Shane M
10005545c92SSeymour, Shane MWhat:           /sys/class/scsi_tape/*/stats/resid_cnt
10105545c92SSeymour, Shane MDate:           Apr 2015
10205545c92SSeymour, Shane MKernelVersion:  4.2
10305545c92SSeymour, Shane MContact:        Shane Seymour <shane.seymour@hp.com>
10405545c92SSeymour, Shane MDescription:
10505545c92SSeymour, Shane M		Shows the number of times we found that a residual >0
10605545c92SSeymour, Shane M		was found when the SCSI midlayer indicated that there was
10705545c92SSeymour, Shane M		an error. For reads this may be a case of someone issuing
10805545c92SSeymour, Shane M		reads greater than the block size.
10905545c92SSeymour, Shane MUsers:
110