Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753706AbZK0EgT (ORCPT ); Thu, 26 Nov 2009 23:36:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753349AbZK0EgS (ORCPT ); Thu, 26 Nov 2009 23:36:18 -0500 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:34156 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753338AbZK0EgS (ORCPT ); Thu, 26 Nov 2009 23:36:18 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: Mel Gorman Subject: Re: [PATCH-RFC] cfq: Disable low_latency by default for 2.6.32 Cc: kosaki.motohiro@jp.fujitsu.com, Jens Axboe , Andrew Morton , Linus Torvalds , Frans Pop , Jiri Kosina , Sven Geggus , Karol Lewandowski , Tobias Oetiker , Pekka Enberg , Rik van Riel , Christoph Lameter , Stephan von Krawczynski , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-mm@kvack.org In-Reply-To: <20091126121945.GB13095@csn.ul.ie> References: <20091126121945.GB13095@csn.ul.ie> Message-Id: <20091127133511.A7DB.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.50.07 [ja] Date: Fri, 27 Nov 2009 13:36:20 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1099 Lines: 31 > Signed-off-by: Mel Gorman > --- > block/cfq-iosched.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c > index aa1e953..dc33045 100644 > --- a/block/cfq-iosched.c > +++ b/block/cfq-iosched.c > @@ -2543,7 +2543,7 @@ static void *cfq_init_queue(struct request_queue *q) > cfqd->cfq_slice[1] = cfq_slice_sync; > cfqd->cfq_slice_async_rq = cfq_slice_async_rq; > cfqd->cfq_slice_idle = cfq_slice_idle; > - cfqd->cfq_latency = 1; > + cfqd->cfq_latency = 0; > cfqd->hw_tag = 1; > cfqd->last_end_sync_rq = jiffies; > return cfqd; Great. Probably we can reenable this feature at 2.6.33. but there isn't any reason to take any risk at 2.6.32. i.e. This simple disabling is best. I like this. Reviewed-by: KOSAKI Motohiro -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/