fn codec_for_depth(depth: u8, floor: u8) -> (&'static dyn ExtentCodec, bool)Expand description
The codec a body at depth stores under, identity below the compression
floor floor and lz4 at and past it, paired with whether that codec
compresses. Callers read the floor once and pass it, so the pair cannot
disagree with itself when the floor moves under a concurrent commit.