Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757735Ab0FOQfv (ORCPT ); Tue, 15 Jun 2010 12:35:51 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:59697 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753975Ab0FOQft (ORCPT ); Tue, 15 Jun 2010 12:35:49 -0400 Date: Tue, 15 Jun 2010 12:35:46 -0400 From: Christoph Hellwig To: Mel Gorman Cc: Andrea Arcangeli , Christoph Hellwig , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Dave Chinner , Chris Mason , Nick Piggin , Rik van Riel Subject: Re: [RFC PATCH 0/6] Do not call ->writepage[s] from direct reclaim and use a_ops->writepages() where possible Message-ID: <20100615163546.GA21250@infradead.org> References: <1275987745-21708-1-git-send-email-mel@csn.ul.ie> <20100615140011.GD28052@random.random> <20100615141122.GA27893@infradead.org> <20100615142219.GE28052@random.random> <20100615144342.GA3339@infradead.org> <20100615150850.GF28052@random.random> <20100615153838.GO26788@csn.ul.ie> <20100615161419.GH28052@random.random> <20100615163044.GR26788@csn.ul.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100615163044.GR26788@csn.ul.ie> User-Agent: Mutt/1.5.20 (2009-08-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 825 Lines: 17 On Tue, Jun 15, 2010 at 05:30:44PM +0100, Mel Gorman wrote: > After grepping through fs/, it was only xfs and btrfs that I saw were > specfically disabling writepage from reclaim context. ext4 doesn't specificly disable writeback from reclaim context, but in a rather convoluted way disabled basically all writeback through ->writepage. The only thing allowed is overwrites of already allocated blocks. In addition to that reiserfs also frefuses to write back pages from reclaim context if they require a transaction, which is the case if the file was written to through mmap. -- 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/