Re: [CHECKER] crash after fsync causing serious FS corruptions (ext2,2.6.11)

From: Junfeng Yang
Date: Tue Mar 08 2005 - 15:41:19 EST


> I believe the warning should go away if you mount -o sync (but then
> the filesystem will perform very slowly :-).
>

I do agree with you, Andreas and other ppl on that this is expected
behavior on ext2, and ext3 should be chosen over ext2 when such
corruptions are under consideration.

However, mount -o sync won't fix the problem for ext2 either :) I sent a
report last week about that ext2 doesn't actually sync writes even if an
ext2 partition is mounted -o sync,dirsync. Andrew confirmed that ext2 has
MS_SYNCHONOUS holes (and possibly O_SYNC holes).

check out http://www.uwsg.iu.edu/hypermail/linux/kernel/0503.0/1252.html
or google "Junfeng mount sync".

Thanks,
-Junfeng

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