From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Arcangeli Subject: Re: [RFC PATCH 0/6] Do not call ->writepage[s] from direct reclaim and use a_ops->writepages() where possible Date: Wed, 16 Jun 2010 19:04:46 +0200 Message-ID: <20100616170446.GI5816@random.random> References: <20100615144342.GA3339@infradead.org> <20100615150850.GF28052@random.random> <20100615152526.GA3468@infradead.org> <20100615154516.GG28052@random.random> <20100615162600.GA9910@infradead.org> <4C17AF2D.2060904@redhat.com> <20100615165423.GA16868@infradead.org> <4C17D0C5.9030203@redhat.com> <20100616075723.GT6138@laptop> <4C19030A.4070406@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Nick Piggin , Christoph Hellwig , Mel Gorman , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Dave Chinner , Chris Mason To: Rik van Riel Return-path: Content-Disposition: inline In-Reply-To: <4C19030A.4070406@redhat.com> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Wed, Jun 16, 2010 at 12:59:54PM -0400, Rik van Riel wrote: > __GFP_IO can wait for filesystem activity Hmm I think it's for submitting I/O, not about waiting. At some point you may not enter the FS because of the FS locks you already hold (like within writepage itself), but you can still submit I/O through blkdev layer. > __GFP_FS can kick off new filesystem activity Yes that's for dcache/icache/writepage or anything that can reenter the fs locks and deadlock IIRC. -- 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