Subject: cgroup: Fix incomplete dd command in blkio documentation
authorYuan Sun <sunyuan3@huawei.com>
Mon, 7 Dec 2015 15:28:46 +0000 (10:28 -0500)
committerTejun Heo <tj@kernel.org>
Mon, 7 Dec 2015 15:28:46 +0000 (10:28 -0500)
Signed-off-by: Yuan Sun <sunyuan3@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/cgroup-legacy/blkio-controller.txt

index 4ecc954..673dc34 100644 (file)
@@ -84,8 +84,7 @@ 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 iflag=direct if=/mnt/common/zerofile of=/dev/null bs=4K count=1024
         1024+0 records in
         1024+0 records out
         4194304 bytes (4.2 MB) copied, 4.0001 s, 1.0 MB/s