Brain Dump

Journal

Tags
comp-arch

Is a piece of metadata stored on the superblock that logs changes to the file-system.

Essentially whenever the file-system is about complete a potentially expensive operation, it writes what it is going to do in a journal. In case of a crash or failure one can step through the journal and see which files are corrupt and fix them.