Journaling

Back to File Systems

Write-ahead logging for file system crash recovery. Changes are first written to a journal (log), then applied to the actual file system. If a crash occurs mid-write, the journal is replayed on recovery to restore consistency. Used by ext4, XFS, and NTFS.

Key Properties


operating-systems file-systems reliability