cgroups: blkio subsystem as module
authorBen Blum <bblum@andrew.cmu.edu>
Wed, 10 Mar 2010 23:22:11 +0000 (15:22 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:36 +0000 (15:52 -0800)
commit67523c48aa74d5637848edeccf285af1c60bf14a
treeebd14992e210c8dfb503ae5fdffc1f5392ad52df
parent8ca712ea84728531d36841ca8f98f9e8680bcf4e
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>
block/Kconfig
block/Kconfig.iosched
block/blk-cgroup.c
block/blk-cgroup.h
include/linux/iocontext.h
kernel/cgroup.c