~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-scsi_tape

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 What:           /sys/class/scsi_tape/*/stats/in_flight
  2 Date:           Apr 2015
  3 KernelVersion:  4.2
  4 Contact:        Shane Seymour <shane.seymour@hp.com>
  5 Description:
  6                 Show the number of I/Os currently in-flight between the st
  7                 module and the SCSI mid-layer.
  8 Users:
  9 
 10 
 11 What:           /sys/class/scsi_tape/*/stats/io_ns
 12 Date:           Apr 2015
 13 KernelVersion:  4.2
 14 Contact:        Shane Seymour <shane.seymour@hp.com>
 15 Description:
 16                 Shows the total amount of time spent waiting for all I/O
 17                 to and from the tape drive to complete. This includes all
 18                 reads, writes, and other SCSI commands issued to the tape
 19                 drive. An example of other SCSI commands would be tape
 20                 movement such as a rewind when a rewind tape device is
 21                 closed. This item is measured in nanoseconds.
 22 
 23                 To determine the amount of time spent waiting for other I/O
 24                 to complete subtract read_ns and write_ns from this value.
 25 Users:
 26 
 27 
 28 What:           /sys/class/scsi_tape/*/stats/other_cnt
 29 Date:           Apr 2015
 30 KernelVersion:  4.2
 31 Contact:        Shane Seymour <shane.seymour@hp.com>
 32 Description:
 33                 The number of I/O requests issued to the tape drive other
 34                 than SCSI read/write requests.
 35 Users:
 36 
 37 
 38 What:           /sys/class/scsi_tape/*/stats/read_byte_cnt
 39 Date:           Apr 2015
 40 KernelVersion:  4.2
 41 Contact:        Shane Seymour <shane.seymour@hp.com>
 42 Description:
 43                 Shows the total number of bytes requested from the tape drive.
 44                 This value is presented in bytes because tape drives support
 45                 variable length block sizes.
 46 Users:
 47 
 48 
 49 What:           /sys/class/scsi_tape/*/stats/read_cnt
 50 Date:           Apr 2015
 51 KernelVersion:  4.2
 52 Contact:        Shane Seymour <shane.seymour@hp.com>
 53 Description:
 54                 Shows the total number of read requests issued to the tape
 55                 drive.
 56 Users:
 57 
 58 
 59 What:           /sys/class/scsi_tape/*/stats/read_ns
 60 Date:           Apr 2015
 61 KernelVersion:  4.2
 62 Contact:        Shane Seymour <shane.seymour@hp.com>
 63 Description:
 64                 Shows the total amount of time in nanoseconds waiting for
 65                 read I/O requests to complete.
 66 Users:
 67 
 68 
 69 What:           /sys/class/scsi_tape/*/stats/write_byte_cnt
 70 Date:           Apr 2015
 71 KernelVersion:  4.2
 72 Contact:        Shane Seymour <shane.seymour@hp.com>
 73 Description:
 74                 Shows the total number of bytes written to the tape drive.
 75                 This value is presented in bytes because tape drives support
 76                 variable length block sizes.
 77 Users:
 78 
 79 
 80 What:           /sys/class/scsi_tape/*/stats/write_cnt
 81 Date:           Apr 2015
 82 KernelVersion:  4.2
 83 Contact:        Shane Seymour <shane.seymour@hp.com>
 84 Description:
 85                 Shows the total number of write requests issued to the tape
 86                 drive.
 87 Users:
 88 
 89 
 90 What:           /sys/class/scsi_tape/*/stats/write_ms
 91 Date:           Apr 2015
 92 KernelVersion:  4.2
 93 Contact:        Shane Seymour <shane.seymour@hp.com>
 94 Description:
 95                 Shows the total amount of time in nanoseconds waiting for
 96                 write I/O requests to complete.
 97 Users:
 98 
 99 
100 What:           /sys/class/scsi_tape/*/stats/resid_cnt
101 Date:           Apr 2015
102 KernelVersion:  4.2
103 Contact:        Shane Seymour <shane.seymour@hp.com>
104 Description:
105                 Shows the number of times we found that a residual >0
106                 was found when the SCSI midlayer indicated that there was
107                 an error. For reads this may be a case of someone issuing
108                 reads greater than the block size.
109 Users:

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php