fix: correct skip_sectors_for_probe doc comment (8x per index, not 2x per 3)
This commit is contained in:
+3
-2
@@ -350,8 +350,9 @@ const PASSN_ESCALATION_RESET_GOOD: u32 = 4;
|
|||||||
const CACHE_PRIME_SECTORS: u32 = 3;
|
const CACHE_PRIME_SECTORS: u32 = 3;
|
||||||
|
|
||||||
/// Probe-offset escalation: returns a per-probe skip distance in
|
/// Probe-offset escalation: returns a per-probe skip distance in
|
||||||
/// sectors that doubles every three indices, capped at
|
/// sectors of `PASSN_SKIP_SECTORS_BASE << (3 × idx)` (i.e. multiplies
|
||||||
/// `PASSN_SKIP_SECTORS_CAP`. Used by the wedge-vs-bad-sector probe to
|
/// 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
|
/// scatter its sample LBAs across the failing region rather than
|
||||||
/// hammering the same neighborhood.
|
/// hammering the same neighborhood.
|
||||||
pub(super) fn skip_sectors_for_probe(idx: usize) -> u64 {
|
pub(super) fn skip_sectors_for_probe(idx: usize) -> u64 {
|
||||||
|
|||||||
Reference in New Issue
Block a user