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

Let's see how LFS decides to clean blocks from the disk.

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.

Get hands-on with 1200+ tech skills courses.