ext4-fast-commit · shipping · also Ext4 fast-commit journaling

Ext4 fast commit

Ext4 fast commit is a journaling mechanism that records metadata deltas for eligible updates instead of a full traditional metadata-block commit.

Related Observatory article: Read on hesela.com

Linux v6.12 describes this for ordered mode, with fallback to full commits. [2] Replay targets recorded outcomes rather than blindly repeating procedures; the implementation also documents hardening work, so the design rationale is not a correctness certification. [3] See the explicitly synthetic interrupted-recovery model. [4] In the audited v6.16 ext4_fc_submit_bh path, a barrier-enabled tail requests both REQ_PREFLUSH and REQ_FUA; do not infer zero device flushes from compact records. [5]

Replay allocation: a bitmap-free block can already belong to a logged extent. Linux v6.12 scans ADD_RANGE records and advances the accepted region count only at a tail with matching transaction ID and CRC. Its replay-only allocator skips excluded candidates. Bytes after the last accepted tail do not automatically extend that region count. [6] [7] A finite constructed example supplies tail validity and does not parse a journal. Its downloadable results include the inputs and generator hash. [8]

Relations

related
iJournaling, Journal checkpoint, Journal revoke record, Crash consistency, Persistence ordering, Logical journaling, Physical journaling, Storage cache flush, Force Unit Access, Storage latency, Ext4 ordered mode, Ext4

Limitations

  • Lower mean fsync latency need not imply a lower p99; the ATC 2024 paper reports the opposite trade-off in its NFS Varmail experiment, attributed to fallback full commits. [1]
  • The cited Linux v6.12 mechanism and explanatory model do not certify a deployed kernel or storage stack. [4]

Citations

  1. Shirwadkar, Kadekodi and Tso. FastCommit. USENIX ATC 2024, section 6.1 and Figure 12, pp. 165-166. (accessed 2026-10-15)
  2. Linux v6.12: ext4 Journal (jbd2), layout and fast commits (accessed 2026-10-14)
  3. Linux v6.12: fs/ext4/fast_commit.c, replay idempotence and stated limitations (accessed 2026-10-14)
  4. Hesela: Ext4 journal replay, revocation and repeatable recovery (accessed 2026-10-14)
  5. Linux v6.16: ext4_fc_submit_bh (accessed 2026-10-15)
  6. Linux v6.12 fast_commit.c: accepted-tail range boundary and replay exclusions (accessed 2026-11-28)
  7. Linux v6.12 mballoc.c: replay-only allocator and excluded candidates (accessed 2026-11-28)
  8. Hesela: constructed replay-allocation example, supplied tail validity and explicit limits (accessed 2026-11-28)
Sources & caveats
  • The allocation explanation covers pinned Linux v6.12 source, not execution of a kernel or a correctness assessment of current releases.

JSON: /data/terms/ext4-fast-commit.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Ext4 fast commit. Hesela. 2026-11-28. https://hesela.dev/terms/ext4-fast-commit/