Skip to contentSkip to conversation

Documentation/cgroups/blkio-controller.txt: s/disk_time|disk_sectors/time|sectors/

PATCH New Jeff Liu 1 participant 1 message Nov 17, 2012 Documentation

lore
Share & tools
lore

Jeff Liu

author
#0 lore raw

PATCH 1/1 Documentation/cgroups/blkio-controller.txt: s/disk_time|disk_sectors/time|sectors/

Hello,

For blkio controller of cgroup, both disk_time and disk_sectors were obsolated file names. Now we're using blkio.time and blkio.sectors to examine how much disk time each cgroup got and how many sectors each cgroup dispatched separately.

This patch fix the document to reflect those changes as well as a couple of typos(secotors and io.disk_time).

Thanks,
-Jeff

---
 Documentation/cgroups/blkio-controller.txt |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
Documentation/cgroups/blkio-controller.txt +7 -7
index b4b1fb3..ffa26d1 100644
@@ -57,11 +57,11 @@ cgroups. Here is what you can do.
 	cat /sys/fs/cgroup/blkio/test2/tasks
 
 - At macro level, first dd should finish first. To get more precise data, keep
-  on looking at (with the help of script), at blkio.disk_time and
-  blkio.disk_sectors files of both test1 and test2 groups. This will tell how
-  much disk time (in milli seconds), each group got and how many secotors each
-  group dispatched to the disk. We provide fairness in terms of disk time, so
-  ideally io.disk_time of cgroups should be in proportion to the weight.
+  on looking at (with the help of script), at blkio.time and blkio.sectors files
+  of both test1 and test2 groups. This will tell how much disk time (in milli
+  seconds), each group got and how many sectors each group dispatched to the disk.
+  We provide fairness in terms of disk time, so ideally blkio.time of cgroups
+  should be in proportion to the weight.
 
 Throttling/Upper Limit policy
 -----------------------------
@@ -84,8 +84,8 @@ Throttling/Upper Limit policy
 
 - Run dd to read a file and see if rate is throttled to 1MB/s or not.
 
-		# dd if=/mnt/common/zerofile of=/dev/null bs=4K count=1024
-		# iflag=direct
+	# dd if=/mnt/common/zerofile of=/dev/null bs=4K count=1024
+	# iflag=direct
         1024+0 records in
         1024+0 records out
         4194304 bytes (4.2 MB) copied, 4.0001 s, 1.0 MB/s
Signature · 1 line
1.7.9.5