Drive halt flag, sector events, binary search light recovery (3x5s)

This commit is contained in:
Matt Jackson
2026-04-21 00:18:46 +00:00
parent 92c1729b69
commit 08be717dc5
4 changed files with 133 additions and 21 deletions
+16
View File
@@ -80,6 +80,22 @@ pub enum EventKind {
sector_count: u64,
},
/// Binary search isolated and recovered a marginal sector.
SectorRecovered {
sector: u64,
},
/// Sector unreadable, zero-filled (skip mode).
SectorSkipped {
sector: u64,
},
/// Binary search activated — batch failed, isolating bad sector.
BinarySearch {
sector: u64,
batch_size: u16,
},
/// Operation complete.
Complete {
/// Total bytes written.