From dd4763bc0edfef29327f1aaff671cbeecb352886 Mon Sep 17 00:00:00 2001 From: Arianna Avanzini Date: Tue, 18 Oct 2011 21:23:04 +0200 Subject: [PATCH 2/4] block: cgroups, kconfig, build bits for BFQ-v6r1-3.1 Add a Kconfig option and do the related Makefile changes to compile the BFQ I/O scheduler. Also add the bfqio controller to the cgroups subsystem. Signed-off-by: Paolo Valente Signed-off-by: Arianna Avanzini --- block/Makefile | 1 + include/linux/cgroup_subsys.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/block/Makefile b/block/Makefile index 514c6e4..653d27b 100644 --- a/block/Makefile +++ b/block/Makefile @@ -14,6 +14,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 ac663c1..c966638 100644 --- a/include/linux/cgroup_subsys.h +++ b/include/linux/cgroup_subsys.h @@ -64,3 +64,9 @@ SUBSYS(perf) #endif /* */ + +#ifdef CONFIG_CGROUP_BFQIO +SUBSYS(bfqio) +#endif + +/* */ -- 1.8.1.4