From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: Re: [PATCH] writeback: account IO throttling wait as iowait Date: Fri, 9 Oct 2009 18:58:47 +0800 Message-ID: <20091009105847.GA16235@localhost> References: <20091007073818.318088777@intel.com> <20091007074903.422089703@intel.com> <20091008100159.fb6770cf.kamezawa.hiroyu@jp.fujitsu.com> <20091008015822.GB14224@localhost> <1254989316.26976.260.camel@twins> <20091008083609.GA9228@kernel.dk> <20091009025235.GA28640@localhost> <20091009104105.GY9228@kernel.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Peter Zijlstra , KAMEZAWA Hiroyuki , Andrew Morton , Theodore Tso , Christoph Hellwig , Dave Chinner , Chris Mason , "Li, Shaohua" , Myklebust Trond , Jan Kara , Nick Piggin , "linux-fsdevel@vger.kernel.org" , LKML To: Jens Axboe Return-path: Received: from mga03.intel.com ([143.182.124.21]:17519 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760640AbZJIK7i (ORCPT ); Fri, 9 Oct 2009 06:59:38 -0400 Content-Disposition: inline In-Reply-To: <20091009104105.GY9228@kernel.dk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Oct 09, 2009 at 06:41:05PM +0800, Jens Axboe wrote: > > --- > > writeback: account IO throttling wait as iowait > > > > It makes sense to do IOWAIT when someone is blocked > > due to IO throttle, as suggested by Kame and Peter. > > > > There is an old comment for not doing IOWAIT on throttle, > > however it has been mismatching the code for a long time. > > > > If we stop accounting IOWAIT for 2.6.32, it could be an > > undesirable behavior change. So restore the io_schedule. > > Thanks, queued up. Thank you. Would you also pick up this one if it's OK to you? Thanks, Fengguang --- writeback: kill space in debugfs item name The space is not script friendly, kill it. CC: Jens Axboe Signed-off-by: Wu Fengguang --- mm/backing-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux.orig/mm/backing-dev.c 2009-10-09 10:05:27.000000000 +0800 +++ linux/mm/backing-dev.c 2009-10-09 18:55:27.000000000 +0800 @@ -92,7 +92,7 @@ static int bdi_debug_stats_show(struct s "BdiDirtyThresh: %8lu kB\n" "DirtyThresh: %8lu kB\n" "BackgroundThresh: %8lu kB\n" - "WriteBack threads:%8lu\n" + "WritebackThreads: %8lu\n" "b_dirty: %8lu\n" "b_io: %8lu\n" "b_more_io: %8lu\n"