Re: [PATCH] 2.6.11-mm1 "nobh" support for ext3 writeback mode

From: Andrew Morton
Date: Fri Mar 04 2005 - 21:59:33 EST


Andrew Morton <akpm@xxxxxxxx> wrote:
>
> page reclaim can come in, grab the page lock and
> whip the page off the mapping.

No it can't - we hold an additional ref on the page, so reclaim will back
off. Still, it feels a bit flakey.

And we're not supposed to take lock_page() inside journal_start, because
that's a ranking violation. Probably i_sem will prevent an actual deadlock
occurring, however.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/