All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation/cgroups/blkio-controller.txt: s/disk_time|disk_sectors/time|sectors/
@ 2012-11-17  9:17 Jeff Liu
  0 siblings, 0 replies; only message in thread
From: Jeff Liu @ 2012-11-17  9:17 UTC (permalink / raw)
  To: axboe; +Cc: LKML

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


Signed-off-by: Jie Liu <jeff.liu@oracle.com>

---
 Documentation/cgroups/blkio-controller.txt |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/Documentation/cgroups/blkio-controller.txt b/Documentation/cgroups/blkio-controller.txt
index b4b1fb3..ffa26d1 100644
--- a/Documentation/cgroups/blkio-controller.txt
+++ b/Documentation/cgroups/blkio-controller.txt
@@ -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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-17  9:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-17  9:17 [PATCH] Documentation/cgroups/blkio-controller.txt: s/disk_time|disk_sectors/time|sectors/ Jeff Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.