mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 21:30:14 -05:00
Uses q-parity instead qarity in messages.
This commit is contained in:
parent
3b6dfd9ffe
commit
194846f01b
4 changed files with 11 additions and 11 deletions
4
scrub.c
4
scrub.c
|
|
@ -307,7 +307,7 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
|
|||
ret = parity_read(qarity, i, buffer_qarity, state->block_size, stdlog);
|
||||
if (ret == -1) {
|
||||
buffer_qarity = 0;
|
||||
fprintf(stdlog, "error:%u:qarity: Read error\n", i);
|
||||
fprintf(stdlog, "error:%u:q-parity: Read error\n", i);
|
||||
++error;
|
||||
error_on_this_block = 1;
|
||||
}
|
||||
|
|
@ -331,7 +331,7 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
|
|||
}
|
||||
if (state->level >= 2) {
|
||||
if (buffer_qarity && memcmp(buffer[diskmax + 1], buffer_qarity, state->block_size) != 0) {
|
||||
fprintf(stdlog, "error:%u:qarity: Data error\n", i);
|
||||
fprintf(stdlog, "error:%u:q-parity: Data error\n", i);
|
||||
++error;
|
||||
|
||||
/* it's a silent error only if we are dealing with synched blocks */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue