COMP3891

EXT3 File System

Overview

Design goals:

Journal

Disk Block Updates

Example:

Advantages:

Disadvantage:

Journal Block Device

Transaction Lifecycle

|Stage|Description| |-|-| |In progress|Updates are buffered in RAM.| |Completed|Updates are buffered in RAM; no additional updates are allowed in the same transaction.| |Committed|Updates are written to the journal and marked as committed. Transaction can be replayed after an unclean unmount.| |Checkpointed|Updates are written to the file system; the transcation is removed from the journal.|

Journaling Modes

EXT3 supports two journalling modes: