Re: page_mkwrite caller is racy?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Fasheh
Date: Monday, January 29, 2007 - 1:00 pm

On Mon, Jan 29, 2007 at 09:20:58PM +1100, Nick Piggin wrote:

Ocfs2 absolutely needs to be able to sleep in there in order to take cluster
locks, do allocation, etc. I suspect ext3 and other file systems will want
to sleep in there when they start caring about being able to allocate the
page before it gets written to.

For an example of what I'm talking about, there's a shared_writeable_mmap
branch in ocfs2.git which makes use of ->page_mkwrite(). It's got some other
small problems which need fixing (when I get the time to do so), but
generally it should illustrate what we're likely to do.

Thanks,
	--Mark

--
Mark Fasheh
Senior Software Developer, Oracle
mark.fasheh@oracle.com
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
page_mkwrite caller is racy?, Nick Piggin, (Mon Jan 29, 3:20 am)
Re: page_mkwrite caller is racy?, Hugh Dickins, (Mon Jan 29, 9:08 am)
Re: page_mkwrite caller is racy?, Mark Fasheh, (Mon Jan 29, 1:00 pm)
Re: page_mkwrite caller is racy?, Anton Altaparmakov, (Mon Jan 29, 1:41 pm)
Re: page_mkwrite caller is racy?, Nick Piggin, (Mon Jan 29, 6:14 pm)
Re: page_mkwrite caller is racy?, Mark Fasheh, (Mon Jan 29, 6:51 pm)
Re: page_mkwrite caller is racy?, Anton Altaparmakov, (Tue Jan 30, 7:58 am)
Re: page_mkwrite caller is racy?, Nick Piggin, (Tue Jan 30, 6:18 pm)
Re: page_mkwrite caller is racy? , David Howells, (Thu Feb 1, 4:44 am)