From 2f114a2941129d675919708b9187a78961377a8e Mon Sep 17 00:00:00 2001 From: Paolo Valente Date: Thu, 16 Dec 2010 13:30:01 +0100 Subject: [PATCH 2/3] block: cgroups, kconfig, build bits for BFQ-v3r2-2.6.39 Add a Kconfig option and do the related Makefile changes to compile the BFQ I/O scheduler. Also let the cgroups subsystem know about the BFQ I/O controller. Signed-off-by: Fabio Checconi Signed-off-by: Paolo Valente Signed-off-by: Arianna Avanzini --- block/Makefile | 1 + include/linux/cgroup_subsys.h | 6 ++++++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/block/Makefile b/block/Makefile index 0fec4b3..22d8608 100644 --- a/block/Makefile +++ b/block/Makefile @@ -13,6 +13,7 @@ obj-$(CONFIG_BLK_DEV_THROTTLING) += blk-throttle.o obj-$(CONFIG_IOSCHED_NOOP) += noop-iosched.o obj-$(CONFIG_IOSCHED_DEADLINE) += deadline-iosched.o obj-$(CONFIG_IOSCHED_CFQ) += cfq-iosched.o +obj-$(CONFIG_IOSCHED_BFQ) += bfq-iosched.o obj-$(CONFIG_BLOCK_COMPAT) += compat_ioctl.o obj-$(CONFIG_BLK_DEV_INTEGRITY) += blk-integrity.o diff --git a/include/linux/cgroup_subsys.h b/include/linux/cgroup_subsys.h index cdbfcb8..503f70f 100644 --- a/include/linux/cgroup_subsys.h +++ b/include/linux/cgroup_subsys.h @@ -70,3 +70,9 @@ SUBSYS(perf) #endif /* */ + +#ifdef CONFIG_CGROUP_BFQIO +SUBSYS(bfqio) +#endif + +/* */ -- 1.7.2.5