mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 07:26:29 -05:00
Add support for selectable streaming vs cached parity generation
This commit is contained in:
parent
44575b21b1
commit
0ce89aa35d
21 changed files with 1510 additions and 1137 deletions
|
|
@ -1516,7 +1516,7 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
|
|||
/* update the parity only if really needed */
|
||||
if (parity_needs_to_be_updated) {
|
||||
/* compute the parity */
|
||||
raid_gen(diskmax, state->level, state->block_size, buffer);
|
||||
raid_gen(diskmax, state->level, state->block_size, buffer, 1);
|
||||
|
||||
/* until now is raid */
|
||||
state_usage_raid(state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue