Theodore Ts’o 3/12/2009

Delayed allocation and the zero-length file problem

Read Original

This technical article discusses the ext4 filesystem's delayed allocation feature, its performance benefits, and the 'zero-length file' problem that can cause data loss after a crash. It explains why applications relying on ext3's default 5-second commit behavior are at risk on ext4 if they don't properly use fsync() or fdatasync(). The post analyzes the underlying filesystem mechanics and the security trade-offs of different journaling modes.

Delayed allocation and the zero-length file problem

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

No top articles yet