diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index eb77e8ccde1c..087c14f3c595 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -612,6 +612,33 @@ config RT_GROUP_SCHED | |||
612 | 612 | ||
613 | endif #CGROUP_SCHED | 613 | endif #CGROUP_SCHED |
614 | 614 | ||
615 | config BLK_CGROUP | ||
616 | tristate "Block IO controller" | ||
617 | depends on CGROUPS && BLOCK | ||
618 | default n | ||
619 | ---help--- | ||
620 | Generic block IO controller cgroup interface. This is the common | ||
621 | cgroup interface which should be used by various IO controlling | ||
622 | policies. | ||
623 | |||
624 | Currently, CFQ IO scheduler uses it to recognize task groups and | ||
625 | control disk bandwidth allocation (proportional time slice allocation) | ||
626 | to such task groups. | ||
627 | |||
628 | This option only enables generic Block IO controller infrastructure. | ||
629 | One needs to also enable actual IO controlling logic in CFQ for it | ||
630 | to take effect. (CONFIG_CFQ_GROUP_IOSCHED=y). | ||
631 | |||
632 | See Documentation/cgroups/blkio-controller.txt for more information. | ||
633 | |||
634 | config DEBUG_BLK_CGROUP | ||
635 | bool "Enable Block IO controller debugging" | ||
636 | depends on BLK_CGROUP | ||
637 | default n | ||
638 | ---help--- | ||
639 | Enable some debugging help. Currently it exports additional stat | ||
640 | files in a cgroup which can be useful for debugging. | ||
641 | |||
615 | endif # CGROUPS | 642 | endif # CGROUPS |
616 | 643 | ||
617 | config MM_OWNER | 644 | config MM_OWNER |