Skip to main content

MAX_COMPACT_PER_SWEEP

Constant MAX_COMPACT_PER_SWEEP 

Source
const MAX_COMPACT_PER_SWEEP: usize = 8;
Expand description

ponytail: a flat cap per sweep, so the first pass over an existing volume drains at a few hundred MB a minute instead of saturating the disk for an hour. Make it adaptive when a real deployment says the backlog matters.