Adds preliminary support for RAID based on a Cauchy matrix.

This commit is contained in:
Andrea Mazzoleni 2013-10-22 23:40:05 +02:00
parent c95917ecfe
commit 136af37e96
13 changed files with 70993 additions and 238 deletions

View file

@ -315,7 +315,7 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
}
/* compute the parity */
raid_gen(state->level, buffer, diskmax, state->block_size);
raid_gen(RAID_POWER, state->level, buffer, diskmax, state->block_size);
/* compare the parity */
for(l=0;l<state->level;++l) {