diff options
author | Ben Blum <bblum@andrew.cmu.edu> | 2010-03-10 18:22:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 18:52:36 -0500 |
commit | 67523c48aa74d5637848edeccf285af1c60bf14a (patch) | |
tree | ebd14992e210c8dfb503ae5fdffc1f5392ad52df /block/Kconfig.iosched | |
parent | 8ca712ea84728531d36841ca8f98f9e8680bcf4e (diff) |
cgroups: blkio subsystem as module
Modify the Block I/O cgroup subsystem to be able to be built as a module.
As the CFQ disk scheduler optionally depends on blk-cgroup, config options
in block/Kconfig, block/Kconfig.iosched, and block/blk-cgroup.h are
enhanced to support the new module dependency.
Signed-off-by: Ben Blum <bblum@andrew.cmu.edu>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/Kconfig.iosched')
-rw-r--r-- | block/Kconfig.iosched | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched index b71abfb0d726..fc71cf071fb2 100644 --- a/block/Kconfig.iosched +++ b/block/Kconfig.iosched | |||
@@ -23,6 +23,7 @@ config IOSCHED_DEADLINE | |||
23 | 23 | ||
24 | config IOSCHED_CFQ | 24 | config IOSCHED_CFQ |
25 | tristate "CFQ I/O scheduler" | 25 | tristate "CFQ I/O scheduler" |
26 | select BLK_CGROUP if CFQ_GROUP_IOSCHED | ||
26 | default y | 27 | default y |
27 | ---help--- | 28 | ---help--- |
28 | The CFQ I/O scheduler tries to distribute bandwidth equally | 29 | The CFQ I/O scheduler tries to distribute bandwidth equally |
@@ -35,7 +36,6 @@ config IOSCHED_CFQ | |||
35 | config CFQ_GROUP_IOSCHED | 36 | config CFQ_GROUP_IOSCHED |
36 | bool "CFQ Group Scheduling support" | 37 | bool "CFQ Group Scheduling support" |
37 | depends on IOSCHED_CFQ && CGROUPS | 38 | depends on IOSCHED_CFQ && CGROUPS |
38 | select BLK_CGROUP | ||
39 | default n | 39 | default n |
40 | ---help--- | 40 | ---help--- |
41 | Enable group IO scheduling in CFQ. | 41 | Enable group IO scheduling in CFQ. |