Skip to content

Surviving a crash mid write

Updating a file may require several separate writes: the data, the block map and the free list.

What happens if power is lost between them, and what fixes it?