Re: Boot failure with ext2 and initrds

From: Andrew Morton
Date: Thu Nov 16 2006 - 04:51:05 EST


On Thu, 16 Nov 2006 01:48:09 -0800
Andrew Morton <akpm@xxxxxxxx> wrote:

> On Thu, 16 Nov 2006 12:37:17 +0300
> Alex Tomas <alex@xxxxxxxxxxxxx> wrote:
>
> > >>>>> Andrew Morton (AM) writes:
> >
> > AM> What lock protects the fields in struct ext[234]_reserve_window from being
> > AM> concurrently modified by two CPUs? None, it seems. Ditto
> > AM> ext[234]_reserve_window_node. i_mutex will cover it for write(), but not
> > AM> for pageout over a file hole. If we end up with a zero- or negative-sized
> > AM> window then odd things might happen.
> >
> > truncate_mutex?
> >
>
> yes. hmm.

by which I mean "ext2 doesn't have a truncate_mutex".
-
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/