Re: Mild filesystem corruption on ext4 (no journal)

From: Alan Jenkins
Date: Fri Jun 05 2009 - 17:41:37 EST


Kay Sievers wrote:
On Fri, Jun 5, 2009 at 18:43, Alan Jenkins<alan-jenkins@xxxxxxxxxxxxxx> wrote:

If I remove the corrupted file and copy a "known good" copy into it's place,
then the corruption doesn't happen. I've verified this a couple of times.
The corruption only occurs if the file was created by "locale-gen".

Does it use things like: fallocate()?

Kay

Not quite. Ted says it's already reported as

http://bugzilla.kernel.org/show_bug.cgi?id=13292

It includes an strace log which implicates the use of both mmap() and write() on the same file. Sounds scary :-).

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