mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 09:26:27 -05:00
Adds more logging in scrub and sync.
This commit is contained in:
parent
6c3d84d775
commit
c95917ecfe
4 changed files with 43 additions and 24 deletions
2
dry.c
2
dry.c
|
|
@ -103,7 +103,7 @@ static int state_dry_process(struct snapraid_state* state, struct snapraid_parit
|
|||
if (parity[l]) {
|
||||
ret = parity_read(parity[l], i, buffer_aligned, state->block_size, stdlog);
|
||||
if (ret == -1) {
|
||||
fprintf(stdlog, "error:%u:%s: Read error\n", i, lev_config_name(l));
|
||||
fprintf(stdlog, "parity_error:%u:%s: Read error\n", i, lev_config_name(l));
|
||||
++error;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue