summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-class-scsi_tape
blob: 9be398b87ee91f770b56617f1807ec080e8fffbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
What:           /sys/class/scsi_tape/*/stats/in_flight
Date:           Apr 2015
KernelVersion:  4.2
Contact:        Shane Seymour <shane.seymour@hp.com>
Description:
		Show the number of I/Os currently in-flight between the st
		module and the SCSI mid-layer.
Users:


What:           /sys/class/scsi_tape/*/stats/io_ns
Date:           Apr 2015
KernelVersion:  4.2
Contact:        Shane Seymour <shane.seymour@hp.com>
Description:
		Shows the total amount of time spent waiting for all I/O
                to and from the tape drive to complete. This includes all
                reads, writes, and other SCSI commands issued to the tape
                drive. An example of other SCSI commands would be tape
                movement such as a rewind when a rewind tape device is
                closed. This item is measured in nanoseconds.

                To determine the amount of time spent waiting for other I/O
                to complete subtract read_ns and write_ns from this value.
Users:


What:           /sys/class/scsi_tape/*/stats/other_cnt
Date:           Apr 2015
KernelVersion:  4.2
Contact:        Shane Seymour <shane.seymour@hp.com>
Description:
		The number of I/O requests issued to the tape drive other
		than SCSI read/write requests.
Users:


What:           /sys/class/scsi_tape/*/stats/read_byte_cnt
Date:           Apr 2015
KernelVersion:  4.2
Contact:        Shane Seymour <shane.seymour@hp.com>
Description:
		Shows the total number of bytes requested from the tape drive.
		This value is presented in bytes because tape drives support
		variable length block sizes.
Users:


What:           /sys/class/scsi_tape/*/stats/read_cnt
Date:           Apr 2015
KernelVersion:  4.2
Contact:        Shane Seymour <shane.seymour@hp.com>
Description:
		Shows the total number of read requests issued to the tape
		drive.
Users:


What:           /sys/class/scsi_tape/*/stats/read_ns
Date:           Apr 2015
KernelVersion:  4.2
Contact:        Shane Seymour <shane.seymour@hp.com>
Description:
		Shows the total amount of time in nanoseconds waiting for
		read I/O requests to complete.
Users:


What:           /sys/class/scsi_tape/*/stats/write_byte_cnt
Date:           Apr 2015
KernelVersion:  4.2
Contact:        Shane Seymour <shane.seymour@hp.com>
Description:
		Shows the total number of bytes written to the tape drive.
		This value is presented in bytes because tape drives support
		variable length block sizes.
Users:


What:           /sys/class/scsi_tape/*/stats/write_cnt
Date:           Apr 2015
KernelVersion:  4.2
Contact:        Shane Seymour <shane.seymour@hp.com>
Description:
		Shows the total number of write requests issued to the tape
		drive.
Users:


What:           /sys/class/scsi_tape/*/stats/write_ms
Date:           Apr 2015
KernelVersion:  4.2
Contact:        Shane Seymour <shane.seymour@hp.com>
Description:
		Shows the total amount of time in nanoseconds waiting for
		write I/O requests to complete.
Users:


What:           /sys/class/scsi_tape/*/stats/resid_cnt
Date:           Apr 2015
KernelVersion:  4.2
Contact:        Shane Seymour <shane.seymour@hp.com>
Description:
		Shows the number of times we found that a residual >0
		was found when the SCSI midlayer indicated that there was
		an error. For reads this may be a case of someone issuing
		reads greater than the block size.
Users:
OpenPOWER on IntegriCloud