Barriers and journaling filesystems
Posted May 22, 2008 10:06 UTC (Thu) by Fats
In reply to: Barriers and journaling filesystems
Parent article: Barriers and journaling filesystems
"Summary: filesystem implementors ought to talk to database implementors. I'm sure both groups
can teach each other a lot, but in this area databases are still quote a bit ahead of
The purpose of a journal is not to be sure that everything is written to disk when you do a write. It's to be sure that the file system is always in a consistent state so you don't need a very expensive fsck and risk loosing other data then what was being written.
If you need to be sure that something is written to disk you have to use the fsync function in your code.
to post comments)