public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block: make CONFIG_BLK_CGROUP visible
@ 2010-03-15  3:18 Li Zefan
  2010-03-15  4:31 ` Ben Blum
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Li Zefan @ 2010-03-15  3:18 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Vivek Goyal, Gui Jianfeng, Ben Blum, LKML,
	containers@lists.osdl.org

Make the config visible, so we can choose from CONFIG_BLK_CGROUP=y
and CONFIG_BLK_CGROUP=m when CONFIG_IOSCHED_CFQ=m.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
 block/Kconfig |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/block/Kconfig b/block/Kconfig
index 62a5921..906950c 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -78,8 +78,9 @@ config BLK_DEV_INTEGRITY
 	Protection.  If in doubt, say N.
 
 config BLK_CGROUP
-	tristate
+	tristate "Block cgroup support"
 	depends on CGROUPS
+	depends on CFQ_GROUP_IOSCHED
 	default n
 	---help---
 	Generic block IO controller cgroup interface. This is the common
@@ -91,7 +92,7 @@ config BLK_CGROUP
 	to such task groups.
 
 config DEBUG_BLK_CGROUP
-	bool
+	bool "Block cgroup debugging help"
 	depends on BLK_CGROUP
 	default n
 	---help---
-- 
1.6.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-03-16 13:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15  3:18 [PATCH] block: make CONFIG_BLK_CGROUP visible Li Zefan
2010-03-15  4:31 ` Ben Blum
2010-03-15 11:57 ` Jens Axboe
2010-03-16  1:42   ` Li Zefan
2010-03-16  7:56     ` Jens Axboe
2010-03-15 13:21 ` Vivek Goyal
2010-03-16  1:36   ` Li Zefan
2010-03-16 13:53     ` Vivek Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox