Re: 2.6.22-rc3-mm1 - page_mkwrite() breakage

Andrew Morton
2007-06-01T22:26:05Z

On Fri, 1 Jun 2007 15:01:18 -0700
Mark Fasheh <mark.fasheh@oracle.com> wrote:

> On Thu, May 31, 2007 at 10:20:39PM -0700, Mark Fasheh wrote:
> > Ok. So how about the attached patch? It's a bit different than discussed,
> > but I think it's much cleaner because it preserves the current behavior of
> > the callback and keeps that bit of page locking inside core code. Not tested
> > as of yet, but I can run it tommorrow.
>
> Ok - this patch seems to check out fine in testing - no more deadlocking.
>
> Andrew, if this is ok with you I'd really like to see that fix in -mm. Ocfs2
> shared write mmap will instantly deadlock without it.

ug, OK. I get a ginormous reject when merging ocfs2 on Nick's stuff which
I've been largely ignoring thus far.

Perhaps I need to go back to staging Nick's stuff after the git trees. I'll
take a look.