2008-02-08 18:10:56 +08:00
|
|
|
What: /sys/block/<disk>/stat
|
|
|
|
Date: February 2008
|
|
|
|
Contact: Jerome Marchand <jmarchan@redhat.com>
|
|
|
|
Description:
|
|
|
|
The /sys/block/<disk>/stat files displays the I/O
|
|
|
|
statistics of disk <disk>. They contain 11 fields:
|
|
|
|
1 - reads completed succesfully
|
|
|
|
2 - reads merged
|
|
|
|
3 - sectors read
|
|
|
|
4 - time spent reading (ms)
|
|
|
|
5 - writes completed
|
|
|
|
6 - writes merged
|
|
|
|
7 - sectors written
|
|
|
|
8 - time spent writing (ms)
|
|
|
|
9 - I/Os currently in progress
|
|
|
|
10 - time spent doing I/Os (ms)
|
|
|
|
11 - weighted time spent doing I/Os (ms)
|
|
|
|
For more details refer Documentation/iostats.txt
|
|
|
|
|
|
|
|
|
|
|
|
What: /sys/block/<disk>/<part>/stat
|
|
|
|
Date: February 2008
|
|
|
|
Contact: Jerome Marchand <jmarchan@redhat.com>
|
|
|
|
Description:
|
|
|
|
The /sys/block/<disk>/<part>/stat files display the
|
|
|
|
I/O statistics of partition <part>. The format is the
|
|
|
|
same as the above-written /sys/block/<disk>/stat
|
|
|
|
format.
|
2008-06-18 00:59:57 +08:00
|
|
|
|
|
|
|
|
|
|
|
What: /sys/block/<disk>/integrity/format
|
|
|
|
Date: June 2008
|
|
|
|
Contact: Martin K. Petersen <martin.petersen@oracle.com>
|
|
|
|
Description:
|
|
|
|
Metadata format for integrity capable block device.
|
|
|
|
E.g. T10-DIF-TYPE1-CRC.
|
|
|
|
|
|
|
|
|
|
|
|
What: /sys/block/<disk>/integrity/read_verify
|
|
|
|
Date: June 2008
|
|
|
|
Contact: Martin K. Petersen <martin.petersen@oracle.com>
|
|
|
|
Description:
|
|
|
|
Indicates whether the block layer should verify the
|
|
|
|
integrity of read requests serviced by devices that
|
|
|
|
support sending integrity metadata.
|
|
|
|
|
|
|
|
|
|
|
|
What: /sys/block/<disk>/integrity/tag_size
|
|
|
|
Date: June 2008
|
|
|
|
Contact: Martin K. Petersen <martin.petersen@oracle.com>
|
|
|
|
Description:
|
|
|
|
Number of bytes of integrity tag space available per
|
|
|
|
512 bytes of data.
|
|
|
|
|
|
|
|
|
|
|
|
What: /sys/block/<disk>/integrity/write_generate
|
|
|
|
Date: June 2008
|
|
|
|
Contact: Martin K. Petersen <martin.petersen@oracle.com>
|
|
|
|
Description:
|
|
|
|
Indicates whether the block layer should automatically
|
|
|
|
generate checksums for write requests bound for
|
|
|
|
devices that support receiving integrity metadata.
|