JLS2009: A Btrfs update
Posted Nov 2, 2009 21:09 UTC (Mon) by anton
In reply to: JLS2009: A Btrfs update
Parent article: JLS2009: A Btrfs update
Using fsync() does not prevent losing a bit of work when you press
save, because the system can crash between the time when you hit save
and when the application actually calls and completes fsync(). The only thing that
fsync() buys is that the save takes longer, and once it's finished and
the application lets you work again, you won't lose the few seconds.
That may be worth the cost for you, but I wonder why?
As for Ted T'so, I would have preferred it if he went to some
lengths to make ext4 a good file system; then fsync() would not be
needed as much. Hmm, makes me wonder if he made fsync() fast because
ext4 is bad, or if he made ext4 bad in order to encourage use of
to post comments)