From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [RFC PATCH 0/6] Do not call ->writepage[s] from direct reclaim and use a_ops->writepages() where possible Date: Tue, 15 Jun 2010 12:35:46 -0400 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 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 To: Mel Gorman Return-path: Content-Disposition: inline In-Reply-To: <20100615163044.GR26788@csn.ul.ie> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org