diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:42:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:42:46 -0500 |
commit | 03054de1e0b90b33e9974107d84dabd2509f5898 (patch) | |
tree | a85e92d5387d94ef9e3d10bf11467136c681ad04 /Documentation/iostats.txt | |
parent | b5eb9513f7c1bee862ada22bf1489f53752686bd (diff) | |
parent | 0e53c2be0495afa97c6b0d06397adcbff9c65347 (diff) |
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/linux-2.6-block:
Enhanced partition statistics: documentation update
Enhanced partition statistics: remove old partition statistics
Enhanced partition statistics: procfs
Enhanced partition statistics: sysfs
Enhanced partition statistics: aoe fix
Enhanced partition statistics: update partition statitics
Enhanced partition statistics: core statistics
block: fixup rq_init() a bit
Manually fixed conflict in drivers/block/aoe/aoecmd.c due to statistics
support.
Diffstat (limited to 'Documentation/iostats.txt')
-rw-r--r-- | Documentation/iostats.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Documentation/iostats.txt b/Documentation/iostats.txt index b963c3b4afa5..5925c3cd030d 100644 --- a/Documentation/iostats.txt +++ b/Documentation/iostats.txt | |||
@@ -58,7 +58,7 @@ they should not wrap twice before you notice them. | |||
58 | Each set of stats only applies to the indicated device; if you want | 58 | Each set of stats only applies to the indicated device; if you want |
59 | system-wide stats you'll have to find all the devices and sum them all up. | 59 | system-wide stats you'll have to find all the devices and sum them all up. |
60 | 60 | ||
61 | Field 1 -- # of reads issued | 61 | Field 1 -- # of reads completed |
62 | This is the total number of reads completed successfully. | 62 | This is the total number of reads completed successfully. |
63 | Field 2 -- # of reads merged, field 6 -- # of writes merged | 63 | Field 2 -- # of reads merged, field 6 -- # of writes merged |
64 | Reads and writes which are adjacent to each other may be merged for | 64 | Reads and writes which are adjacent to each other may be merged for |
@@ -132,6 +132,19 @@ words, the number of reads for partitions is counted slightly before time | |||
132 | of queuing for partitions, and at completion for whole disks. This is | 132 | of queuing for partitions, and at completion for whole disks. This is |
133 | a subtle distinction that is probably uninteresting for most cases. | 133 | a subtle distinction that is probably uninteresting for most cases. |
134 | 134 | ||
135 | More significant is the error induced by counting the numbers of | ||
136 | reads/writes before merges for partitions and after for disks. Since a | ||
137 | typical workload usually contains a lot of successive and adjacent requests, | ||
138 | the number of reads/writes issued can be several times higher than the | ||
139 | number of reads/writes completed. | ||
140 | |||
141 | In 2.6.25, the full statistic set is again available for partitions and | ||
142 | disk and partition statistics are consistent again. Since we still don't | ||
143 | keep record of the partition-relative address, an operation is attributed to | ||
144 | the partition which contains the first sector of the request after the | ||
145 | eventual merges. As requests can be merged across partition, this could lead | ||
146 | to some (probably insignificant) innacuracy. | ||
147 | |||
135 | Additional notes | 148 | Additional notes |
136 | ---------------- | 149 | ---------------- |
137 | 150 | ||