From 93d619bb5cfbd6ceba51c43f99ba409da0bf7dad Mon Sep 17 00:00:00 2001 From: Matt Jackson <1085847+MattJackson@users.noreply.github.com> Date: Tue, 21 Apr 2026 02:02:13 +0000 Subject: [PATCH] Fix: initial batch read uses fast read, not full recovery --- src/mux/disc.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mux/disc.rs b/src/mux/disc.rs index ef6cb04..0b695ee 100644 --- a/src/mux/disc.rs +++ b/src/mux/disc.rs @@ -218,14 +218,14 @@ impl DiscStream { if self .reader - .read_sectors(lba, sectors, &mut self.read_buf[..bytes]) + .read_sectors_recover(lba, sectors, &mut self.read_buf[..bytes], false) .is_ok() { // Fast path: batch succeeded self.buf_valid = bytes; } else { - // Tier 1: Binary search to isolate the failing sector(s), - // then read good regions in batches and bad sectors individually. + // Batch failed fast — binary search to isolate bad sectors. + // Light recovery only (3x5s per sector, no full Drive::read). self.buf_valid = 0; self.read_with_binary_search(lba, sectors)?; }