From d5ffeb9f83e0af94484628030717cec7332b7906 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.38 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 --- 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 ccefff0..37f523b 100644 --- a/include/linux/cgroup_subsys.h +++ b/include/linux/cgroup_subsys.h @@ -66,3 +66,9 @@ SUBSYS(blkio) #endif /* */ + +#ifdef CONFIG_CGROUP_BFQIO +SUBSYS(bfqio) +#endif + +/* */ -- 1.7.2.5