Re: 2.6.19 file content corruption on ext3

From: Linus Torvalds
Date: Mon Dec 18 2006 - 19:30:08 EST




On Tue, 19 Dec 2006, Andrei Popa wrote:
>
> the corrupted file has a chink full with zeros
>
> http://193.226.119.62/corruption0.jpg
> http://193.226.119.62/corruption1.jpg

Thanks. Yup, filled with zeroes, and the corruption stops (but does _not_
start) at a page boundary.

That _does_ look very much like it was filled in linearly, then written
out to disk when it was in the middle of the page, and then we simply lost
the further writes that should also have gone on to that page. All
consistent with dropping a dirty bit somewhere in the middle of the page
updates.

Which we kind of knew must be the issue anyway, but it's good to know that
the corruption pattern is consistent with what we're trying to figure out.

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