From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752250Ab1DUGHn (ORCPT ); Thu, 21 Apr 2011 02:07:43 -0400 Received: from mga11.intel.com ([192.55.52.93]:25190 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750704Ab1DUGHm (ORCPT ); Thu, 21 Apr 2011 02:07:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.64,250,1301900400"; d="scan'208";a="681836587" Date: Thu, 21 Apr 2011 14:07:38 +0800 From: Wu Fengguang To: Christoph Hellwig Cc: Andrew Morton , Jan Kara , Mel Gorman , Dave Chinner , Trond Myklebust , Itaru Kitayama , Minchan Kim , LKML , "linux-fsdevel@vger.kernel.org" , Linux Memory Management List Subject: Re: [PATCH 0/6] writeback: moving expire targets for background/kupdate works Message-ID: <20110421060738.GB24232@localhost> References: <20110419030003.108796967@intel.com> <20110421043449.GA22423@infradead.org> <20110421055031.GA23711@localhost> <20110421055634.GA26187@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110421055634.GA26187@infradead.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 21, 2011 at 01:56:34PM +0800, Christoph Hellwig wrote: > On Thu, Apr 21, 2011 at 01:50:31PM +0800, Wu Fengguang wrote: > > Hi Christoph, > > > > On Thu, Apr 21, 2011 at 12:34:50PM +0800, Christoph Hellwig wrote: > > > Hi Wu, > > > > > > if you're queueing up writeback changes can you look into splitting > > > inode_wb_list_lock as it was done in earlier versions of the inode > > > scalability patches? Especially if we don't get the I/O less > > > balance_dirty_pages in ASAP it'll at least allows us to scale the > > > busy waiting for the list manipulationes to one CPU per BDI. > > > > Do you mean to split inode_wb_list_lock into struct bdi_writeback? > > So as to improve at least the JBOD case now and hopefully benefit the > > 1-bdi case when switching to multiple bdi_writeback per bdi in future? > > > > I've not touched any locking code before, but it looks like some dumb > > code replacement. Let me try it :) > > I can do the patch if you want, it would be useful to carry it in your > series to avoid conflicts, though. I see. I'll do it, thanks! Thanks, Fengguang