Theodore Ts’o 3/16/2009

Don’t fear the fsync!

Read Original

This technical article clarifies misconceptions about the fsync() system call in Linux filesystems. It explains why fsync() is the only POSIX-compliant way to ensure data is written to stable storage, counters common excuses for not using it (like perceived performance issues), and analyzes a real-world example involving Firefox 3.0 and SQLite.

Don’t fear the fsync!

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week