v0.13.41: debug logging for sector-0 regression

This commit is contained in:
MattJackson
2026-04-29 07:09:46 -07:00
parent 9ac0c2fcdf
commit 7de9d4d42c
4 changed files with 38 additions and 1 deletions
+14
View File
@@ -1338,6 +1338,20 @@ impl Disc {
let block_count = (block_bytes / 2048) as u16;
let recovery = !opts.skip_on_error;
if read_ok_count + read_err_count < 3 {
tracing::info!(
target: "freemkv::disc",
block_lba,
block_count,
block_bytes,
recovery,
skip_on_error = opts.skip_on_error,
batch,
total_bytes,
"Disc::copy first reads"
);
}
let read_result = reader.read_sectors(
block_lba,
block_count,