ZFS Intent Log
The ZFS Intent Log is a per-dataset recovery log that can persist filesystem operations before their transaction group reaches stable storage.
Intent records can remain in memory until the TXG commits or be committed to the on-disk ZIL to satisfy a synchronous request; recovery replays relevant persisted records when the dataset is instantiated. The log can live in the main pool without a separate device. [1] [2] Copied records contain data, while an indirect record points to a block written outside the log. Transaction-data byte counters do not measure physical SLOG writes. [3]
Relations
- related
- zfs-separate-log, zfs-transaction-group, fsync, write-ahead-log, crash-consistency