aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2010-09-15 17:06:35 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-09-16 02:42:52 -0400
commite43473b7f223ec866f7db273697e76c337c390f9 (patch)
treee90b52dbe4ec4ae37263a00e2bd9eaf5367cf72f /init
parent4c9eefa16c6f124ffcc736cb719b24ea27f85017 (diff)
blkio: Core implementation of throttle policy
o Actual implementation of throttling policy in block layer. Currently it implements READ and WRITE bytes per second throttling logic. IOPS throttling comes in later patches. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig9
1 files changed, 6 insertions, 3 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 2de5b1cbadd9..950ba26f7233 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -634,11 +634,14 @@ config BLK_CGROUP
634 634
635 Currently, CFQ IO scheduler uses it to recognize task groups and 635 Currently, CFQ IO scheduler uses it to recognize task groups and
636 control disk bandwidth allocation (proportional time slice allocation) 636 control disk bandwidth allocation (proportional time slice allocation)
637 to such task groups. 637 to such task groups. It is also used by bio throttling logic in
638 block layer to implement upper limit in IO rates on a device.
638 639
639 This option only enables generic Block IO controller infrastructure. 640 This option only enables generic Block IO controller infrastructure.
640 One needs to also enable actual IO controlling logic in CFQ for it 641 One needs to also enable actual IO controlling logic/policy. For
641 to take effect. (CONFIG_CFQ_GROUP_IOSCHED=y). 642 enabling proportional weight division of disk bandwidth in CFQ seti
643 CONFIG_CFQ_GROUP_IOSCHED=y and for enabling throttling policy set
644 CONFIG_BLK_THROTTLE=y.
642 645
643 See Documentation/cgroups/blkio-controller.txt for more information. 646 See Documentation/cgroups/blkio-controller.txt for more information.
644 647