From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936173Ab0COL5a (ORCPT ); Mon, 15 Mar 2010 07:57:30 -0400 Received: from 0122700014.0.fullrate.dk ([95.166.99.235]:36446 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936134Ab0COL50 (ORCPT ); Mon, 15 Mar 2010 07:57:26 -0400 Date: Mon, 15 Mar 2010 12:57:25 +0100 From: Jens Axboe To: Li Zefan Cc: Vivek Goyal , Gui Jianfeng , Ben Blum , LKML , "containers@lists.osdl.org" Subject: Re: [PATCH] block: make CONFIG_BLK_CGROUP visible Message-ID: <20100315115724.GK5768@kernel.dk> References: <4B9DA6F5.3070606@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B9DA6F5.3070606@cn.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 15 2010, Li Zefan wrote: > 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 What kernel is this against? > --- > 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 > -- Jens Axboe