fix: correct skip_sectors_for_probe doc comment (8x per index, not 2x per 3)

This commit is contained in:
Matthew Jackson
2026-06-23 22:50:40 -07:00
parent af3666ff3b
commit 55849edd99
+3 -2
View File
@@ -350,8 +350,9 @@ const PASSN_ESCALATION_RESET_GOOD: u32 = 4;
const CACHE_PRIME_SECTORS: u32 = 3;
/// Probe-offset escalation: returns a per-probe skip distance in
/// sectors that doubles every three indices, capped at
/// `PASSN_SKIP_SECTORS_CAP`. Used by the wedge-vs-bad-sector probe to
/// sectors of `PASSN_SKIP_SECTORS_BASE << (3 × idx)` (i.e. multiplies
/// by 8 per index), capped at `PASSN_SKIP_SECTORS_CAP`. Used by the
/// wedge-vs-bad-sector probe to
/// scatter its sample LBAs across the failing region rather than
/// hammering the same neighborhood.
pub(super) fn skip_sectors_for_probe(idx: usize) -> u64 {