Log using log_error all errors that are not resulting in an early termination

This commit is contained in:
Andrea Mazzoleni 2026-05-30 17:54:31 +02:00
parent abcea4d9f3
commit fc169fb922

View file

@ -571,6 +571,7 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
} else {
log_tag("parity_error_data:%u:%s: Data error, diff parity bits %u/%u\n", blockcur, lev_config_name(l), diff, state->block_size * 8);
log_error(EDATA, "Data error in parity '%s' at position '%u', diff parity bits %u/%u\n", lev_config_name(l), blockcur, diff, state->block_size * 8);
log_error(EDATA, "Data error in parity '%s' at position '%u', diff parity bits %u/%u\n", lev_config_name(l), blockcur, diff, state->block_size * 8);
++silent_error;
silent_error_on_this_block = 1;
}