Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752407AbZIIM6I (ORCPT ); Wed, 9 Sep 2009 08:58:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751627AbZIIM6H (ORCPT ); Wed, 9 Sep 2009 08:58:07 -0400 Received: from mga03.intel.com ([143.182.124.21]:39623 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751242AbZIIM6G (ORCPT ); Wed, 9 Sep 2009 08:58:06 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,271,1249282800"; d="scan'208";a="185680982" Date: Wed, 9 Sep 2009 20:57:55 +0800 From: Wu Fengguang To: Jens Axboe Cc: Christoph Hellwig , Chris Mason , Peter Zijlstra , Artem Bityutskiy , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "david@fromorbit.com" , "akpm@linux-foundation.org" , "jack@suse.cz" , "Theodore Ts'o" Subject: Re: [PATCH 8/8] vm: Add an tuning knob for vm.max_writeback_mb Message-ID: <20090909125755.GA24130@localhost> References: <1252401791-22463-1-git-send-email-jens.axboe@oracle.com> <1252401791-22463-9-git-send-email-jens.axboe@oracle.com> <4AA633FD.3080006@gmail.com> <1252425983.7746.120.camel@twins> <20090908162936.GA2975@think> <20090909092901.GA24185@localhost> <20090909122805.GA30238@infradead.org> <20090909123223.GB23006@localhost> <20090909123746.GB18599@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090909123746.GB18599@kernel.dk> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1415 Lines: 32 On Wed, Sep 09, 2009 at 08:37:46PM +0800, Jens Axboe wrote: > On Wed, Sep 09 2009, Wu Fengguang wrote: > > On Wed, Sep 09, 2009 at 08:28:06PM +0800, Christoph Hellwig wrote: > > > On Wed, Sep 09, 2009 at 05:29:01PM +0800, Wu Fengguang wrote: > > > > It seems that balance_dirty_pages() is not coupled with MAX_WRITEBACK_PAGES. > > > > Instead it uses the much smaller (ratelimit_pages + ratelimit_pages / 2). > > > > > > With Jen's writeback patches applied balance_dirty_pages does not start > > > writeback itself anymore but calls bdi_start_writeback to let the > > > flusher thread do it. > > > > > > it would be good if we do any writeback tuning ontop of these patches.. > > > > Ah OK. I'm using latest linux-next and expected his patches to be there.. > > They are there, have been for months! But I think Christoph is a little > confused, we'll still do writeback inline from balance_dirty_pages(). It > does writeback_inodes_wbc(), which does not schedule async writeout. > > So if your patches are based and tested off -next, you should be good. Just found that I was in the wrong branch.. Now I see writeback_inodes_wbc(), thanks. Thanks, Fengguang -- 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/