pub const SPARSE_HOLE_RATIO_SKIP_THRESHOLD: f64 = 0.5;Expand description
When a file’s hole ratio (bytes in holes / total bytes) exceeds this threshold, skip fallocate pre-allocation. The io_uring pipeline will punch holes as needed. This avoids the wasteful allocate-then-punch round-trip for borderline-sparse files.