From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: [patch][rfc] mm: hold page lock over page_mkwrite Date: Wed, 25 Feb 2009 11:48:44 -0500 Message-ID: <1235580524.32346.5.camel@think.oraclecorp.com> References: <20090225093629.GD22785@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, Linux Memory Management List To: Nick Piggin Return-path: In-Reply-To: <20090225093629.GD22785@wotan.suse.de> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Wed, 2009-02-25 at 10:36 +0100, Nick Piggin wrote: > I want to have the page be protected by page lock between page_mkwrite > notification to the filesystem, and the actual setting of the page > dirty. Do this by holding the page lock over page_mkwrite, and keep it > held until after set_page_dirty. Are any of the filesystems ordering the journal lock outside the page lock? I thought ocfs2 and ext4 were either doing this or discussing it. If they are, this will make fsblock hard to use for them. -chris -- 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