Comment 148 for bug 317781

Revision history for this message
Volodymyr M. Lisivka (vlisivka-gmail) wrote :

I created lame test case to catch the bug. Numbers:

Filesystem, Method, Performance, Percentage of data loss
ext3, (1), 0,50, 1% (one file is partial)
ext3, (2), 0,44, 0% (one temporary file is partial)
ext3, (3), 0,37, 0% (one temporary file is partial)
ext4, (1), 0,50, 102% (all files are zeroed, including my scripts)
ext4, (2), 0,44, 101% (all files are zeroed, including one .tmp file)
ext4, (3), 0,29, 0% (ext4 is, actually, slower than ext3).

BTW: I see no way to call fsync() in bash, so I used "sync" command instead in method (3).

> Finally, I'll note that Fedora folks haven't really been complaining about this, so far as I know.

I am Fedora user. Feel the difference.