Search⌘ K

A Policy Question: Which Blocks to Clean, and When?

Explore policies for cleaning blocks in log-structured file systems by understanding when to clean—periodically, during idle times, or when full—and how to select blocks based on their usage patterns. Learn about hot and cold segment strategies to improve disk performance and optimize storage management.

We'll cover the following...

On top of the mechanism described in the previous lesson, LFS must include a set of policies to determine both when to clean and which blocks are worth cleaning. Determining when to clean is easier; either periodically, during idle time, or when you have to because the disk is full.

Determining which blocks to clean is more challenging, and has ...