Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753951AbZI3Bao (ORCPT ); Tue, 29 Sep 2009 21:30:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753876AbZI3Ban (ORCPT ); Tue, 29 Sep 2009 21:30:43 -0400 Received: from mga14.intel.com ([143.182.124.37]:62454 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753853AbZI3Ban (ORCPT ); Tue, 29 Sep 2009 21:30:43 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,476,1249282800"; d="scan'208";a="193238020" Date: Wed, 30 Sep 2009 09:30:34 +0800 From: Wu Fengguang To: Dave Chinner Cc: Chris Mason , Andrew Morton , Peter Zijlstra , "Li, Shaohua" , "linux-kernel@vger.kernel.org" , "richard@rsk.demon.co.uk" , "jens.axboe@oracle.com" Subject: Re: regression in page writeback Message-ID: <20090930013034.GC6311@localhost> References: <20090922193622.42c00012.akpm@linux-foundation.org> <20090923140058.GA2794@think> <20090924031508.GD6456@localhost> <20090925001117.GA9464@discord.disaster> <20090925003820.GK2662@think> <20090925050413.GC9464@discord.disaster> <20090925064503.GA30450@localhost> <20090928010700.GE9464@discord.disaster> <20090928142524.GC6405@think> <20090929233936.GG9464@discord.disaster> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090929233936.GG9464@discord.disaster> 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: 1497 Lines: 40 On Wed, Sep 30, 2009 at 07:39:36AM +0800, Dave Chinner wrote: > On Mon, Sep 28, 2009 at 10:25:24AM -0400, Chris Mason wrote: > > On Mon, Sep 28, 2009 at 11:07:00AM +1000, Dave Chinner wrote: > > > In the context of the setup I was talking about, I meant is that sync > > > IO _should_ be unthrottled because it is self-throttling by it's > > > very nature. The current code makes no differentiation between the > > > two. > > > > This isn't entirely true anymore. WB_SYNC_ALL is turned into a sync > > bio, which is sent down with higher priority. There may be a few spots > > that still need to be changed for it, but it is much better than it was. > > Oh, I didn't realise that had changed - when did WRITE_SYNC_PLUG get > introduced? About 5 months before, when Linus complained something similar :) http://lkml.org/lkml/2009/4/6/114 Thanks, Fengguang > FWIW, I notice that __block_write_full_page(), gfs2, btrfs > and jdb use WRITE_SYNC_PLUG to implement this, but it appears that > filesystems that have their own writeback code (e.g. XFS) have not > been converted (gfs2 and btrfs being the exceptions). > > Oh well, something else that needs tweaking in XFS... > > Cheers, > > Dave. > -- > Dave Chinner > david@fromorbit.com -- 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/