hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/ABI/testing/procfs-diskstats
....@@ -6,27 +6,38 @@
66 of block devices. Each line contains the following 14
77 fields:
88
9
- 1 - major number
10
- 2 - minor mumber
11
- 3 - device name
12
- 4 - reads completed successfully
13
- 5 - reads merged
14
- 6 - sectors read
15
- 7 - time spent reading (ms)
16
- 8 - writes completed
17
- 9 - writes merged
18
- 10 - sectors written
19
- 11 - time spent writing (ms)
20
- 12 - I/Os currently in progress
21
- 13 - time spent doing I/Os (ms)
22
- 14 - weighted time spent doing I/Os (ms)
9
+ == ===================================
10
+ 1 major number
11
+ 2 minor mumber
12
+ 3 device name
13
+ 4 reads completed successfully
14
+ 5 reads merged
15
+ 6 sectors read
16
+ 7 time spent reading (ms)
17
+ 8 writes completed
18
+ 9 writes merged
19
+ 10 sectors written
20
+ 11 time spent writing (ms)
21
+ 12 I/Os currently in progress
22
+ 13 time spent doing I/Os (ms)
23
+ 14 weighted time spent doing I/Os (ms)
24
+ == ===================================
2325
2426 Kernel 4.18+ appends four more fields for discard
2527 tracking putting the total at 18:
2628
27
- 15 - discards completed successfully
28
- 16 - discards merged
29
- 17 - sectors discarded
30
- 18 - time spent discarding
29
+ == ===================================
30
+ 15 discards completed successfully
31
+ 16 discards merged
32
+ 17 sectors discarded
33
+ 18 time spent discarding
34
+ == ===================================
3135
32
- For more details refer to Documentation/iostats.txt
36
+ Kernel 5.5+ appends two more fields for flush requests:
37
+
38
+ == =====================================
39
+ 19 flush requests completed successfully
40
+ 20 time spent flushing
41
+ == =====================================
42
+
43
+ For more details refer to Documentation/admin-guide/iostats.rst