diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-21 00:12:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-21 00:12:50 -0400 |
commit | 69a7aebcf019ab3ff5764525ad6858fbe23bb86d (patch) | |
tree | 7211df5704b743a7667159748c670a9744164482 /Documentation/cgroups | |
parent | d464c92b5234227c1698862a1906827e2e398ae0 (diff) | |
parent | f1f996b66cc3908a8f5ffccc2ff41840e92f3b10 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree from Jiri Kosina:
"It's indeed trivial -- mostly documentation updates and a bunch of
typo fixes from Masanari.
There are also several linux/version.h include removals from Jesper."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (101 commits)
kcore: fix spelling in read_kcore() comment
constify struct pci_dev * in obvious cases
Revert "char: Fix typo in viotape.c"
init: fix wording error in mm_init comment
usb: gadget: Kconfig: fix typo for 'different'
Revert "power, max8998: Include linux/module.h just once in drivers/power/max8998_charger.c"
writeback: fix fn name in writeback_inodes_sb_nr_if_idle() comment header
writeback: fix typo in the writeback_control comment
Documentation: Fix multiple typo in Documentation
tpm_tis: fix tis_lock with respect to RCU
Revert "media: Fix typo in mixer_drv.c and hdmi_drv.c"
Doc: Update numastat.txt
qla4xxx: Add missing spaces to error messages
compiler.h: Fix typo
security: struct security_operations kerneldoc fix
Documentation: broken URL in libata.tmpl
Documentation: broken URL in filesystems.tmpl
mtd: simplify return logic in do_map_probe()
mm: fix comment typo of truncate_inode_pages_range
power: bq27x00: Fix typos in comment
...
Diffstat (limited to 'Documentation/cgroups')
-rw-r--r-- | Documentation/cgroups/blkio-controller.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Documentation/cgroups/blkio-controller.txt b/Documentation/cgroups/blkio-controller.txt index 84f0a15fc210..b4b1fb3a83f0 100644 --- a/Documentation/cgroups/blkio-controller.txt +++ b/Documentation/cgroups/blkio-controller.txt | |||
@@ -94,11 +94,11 @@ Throttling/Upper Limit policy | |||
94 | 94 | ||
95 | Hierarchical Cgroups | 95 | Hierarchical Cgroups |
96 | ==================== | 96 | ==================== |
97 | - Currently none of the IO control policy supports hierarhical groups. But | 97 | - Currently none of the IO control policy supports hierarchical groups. But |
98 | cgroup interface does allow creation of hierarhical cgroups and internally | 98 | cgroup interface does allow creation of hierarchical cgroups and internally |
99 | IO policies treat them as flat hierarchy. | 99 | IO policies treat them as flat hierarchy. |
100 | 100 | ||
101 | So this patch will allow creation of cgroup hierarhcy but at the backend | 101 | So this patch will allow creation of cgroup hierarchcy but at the backend |
102 | everything will be treated as flat. So if somebody created a hierarchy like | 102 | everything will be treated as flat. So if somebody created a hierarchy like |
103 | as follows. | 103 | as follows. |
104 | 104 | ||
@@ -266,7 +266,7 @@ Proportional weight policy files | |||
266 | - blkio.idle_time | 266 | - blkio.idle_time |
267 | - Debugging aid only enabled if CONFIG_DEBUG_BLK_CGROUP=y. | 267 | - Debugging aid only enabled if CONFIG_DEBUG_BLK_CGROUP=y. |
268 | This is the amount of time spent by the IO scheduler idling for a | 268 | This is the amount of time spent by the IO scheduler idling for a |
269 | given cgroup in anticipation of a better request than the exising ones | 269 | given cgroup in anticipation of a better request than the existing ones |
270 | from other queues/cgroups. This is in nanoseconds. If this is read | 270 | from other queues/cgroups. This is in nanoseconds. If this is read |
271 | when the cgroup is in an idling state, the stat will only report the | 271 | when the cgroup is in an idling state, the stat will only report the |
272 | idle_time accumulated till the last idle period and will not include | 272 | idle_time accumulated till the last idle period and will not include |
@@ -283,34 +283,34 @@ Throttling/Upper limit policy files | |||
283 | ----------------------------------- | 283 | ----------------------------------- |
284 | - blkio.throttle.read_bps_device | 284 | - blkio.throttle.read_bps_device |
285 | - Specifies upper limit on READ rate from the device. IO rate is | 285 | - Specifies upper limit on READ rate from the device. IO rate is |
286 | specified in bytes per second. Rules are per deivce. Following is | 286 | specified in bytes per second. Rules are per device. Following is |
287 | the format. | 287 | the format. |
288 | 288 | ||
289 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.read_bps_device | 289 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.read_bps_device |
290 | 290 | ||
291 | - blkio.throttle.write_bps_device | 291 | - blkio.throttle.write_bps_device |
292 | - Specifies upper limit on WRITE rate to the device. IO rate is | 292 | - Specifies upper limit on WRITE rate to the device. IO rate is |
293 | specified in bytes per second. Rules are per deivce. Following is | 293 | specified in bytes per second. Rules are per device. Following is |
294 | the format. | 294 | the format. |
295 | 295 | ||
296 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.write_bps_device | 296 | echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.write_bps_device |
297 | 297 | ||
298 | - blkio.throttle.read_iops_device | 298 | - blkio.throttle.read_iops_device |
299 | - Specifies upper limit on READ rate from the device. IO rate is | 299 | - Specifies upper limit on READ rate from the device. IO rate is |
300 | specified in IO per second. Rules are per deivce. Following is | 300 | specified in IO per second. Rules are per device. Following is |
301 | the format. | 301 | the format. |
302 | 302 | ||
303 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.read_iops_device | 303 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.read_iops_device |
304 | 304 | ||
305 | - blkio.throttle.write_iops_device | 305 | - blkio.throttle.write_iops_device |
306 | - Specifies upper limit on WRITE rate to the device. IO rate is | 306 | - Specifies upper limit on WRITE rate to the device. IO rate is |
307 | specified in io per second. Rules are per deivce. Following is | 307 | specified in io per second. Rules are per device. Following is |
308 | the format. | 308 | the format. |
309 | 309 | ||
310 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.write_iops_device | 310 | echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.write_iops_device |
311 | 311 | ||
312 | Note: If both BW and IOPS rules are specified for a device, then IO is | 312 | Note: If both BW and IOPS rules are specified for a device, then IO is |
313 | subjectd to both the constraints. | 313 | subjected to both the constraints. |
314 | 314 | ||
315 | - blkio.throttle.io_serviced | 315 | - blkio.throttle.io_serviced |
316 | - Number of IOs (bio) completed to/from the disk by the group (as | 316 | - Number of IOs (bio) completed to/from the disk by the group (as |