IT lexicon › Infra & Ops › Writeback mode

Writeback mode

Infra & Ops På svenska → Updated: 2026-11-17

The journal mode that writes only metadata to the journal (not file data), giving highest performance but weakest consistency protection after crashes.

ext3 and ext4 offer three journal modes: data (everything), ordered (default; metadata first, then data), and writeback (metadata only). Writeback is fastest—file data stays in cache and is written whenever the OS chooses—but if you crash, an already-written file might point to old data blocks from previously deleted files, potentially leaking private information. Ordered is the safe default; it writes file data before committing metadata, preventing the worst cases. Writeback is chosen when throughput matters more than data integrity.

← Back to the lexicon