Re: 2.6.19 file content corruption on ext3

From: Andrei Popa
Date: Sun Dec 17 2006 - 08:49:25 EST


I was mistaken, I'm still having file corruption with rtorrent.

On Sun, 2006-12-17 at 04:06 -0800, Andrew Morton wrote:
> On Sun, 17 Dec 2006 02:13:18 +0200
> Andrei Popa <andrei.popa@xxxxxxxx> wrote:
>
> > Hello,
> > I had filesystem data corruption with rtorrent with 2.6.19.
> > I tried recent git with Peter Zijlstra patch
> > http://lkml.org/lkml/2006/12/16/144 and it seems that the problem is
> > fixed.
> >
>
> oh crap, I'd forgotten that test_clear_page_dirty() now fiddles with the
> ptes.
>
> I'd be really surprised if this was all due to a race though. Is everyone
> who has observed this problem running SMP and/or premptible kernels?
>
> Peter, why isn't that proposed patch's cleaning of the pte racy against
> do_wp_page()?

-
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/