From 55849edd99e6e477f1242a2cd07010007fa57c00 Mon Sep 17 00:00:00 2001 From: Matthew Jackson <1085847+MattJackson@users.noreply.github.com> Date: Tue, 23 Jun 2026 22:50:40 -0700 Subject: [PATCH] fix: correct skip_sectors_for_probe doc comment (8x per index, not 2x per 3) --- src/disc/patch.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/disc/patch.rs b/src/disc/patch.rs index 33483f2..5c20c18 100644 --- a/src/disc/patch.rs +++ b/src/disc/patch.rs @@ -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 {