mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 04:17:02 -05:00
Add raid selftest for raid_rec_dataonly()
This commit is contained in:
parent
348ca97493
commit
1d9b0abc3f
2 changed files with 89 additions and 12 deletions
|
|
@ -139,9 +139,9 @@ void raid_gen(int nd, int np, size_t size, void **v);
|
|||
void raid_rec(int nr, int *ir, int nd, int np, size_t size, void **v);
|
||||
|
||||
/**
|
||||
* Recovers failures in data blocks using the specified parities.
|
||||
* Recovers failures in data blocks only.
|
||||
*
|
||||
* The data blocks marked as bad in the @id vector are recovered.
|
||||
* This function recovers all the data blocks marked as bad in the @id vector.
|
||||
* The parity blocks are not modified.
|
||||
*
|
||||
* @nr Number of failed data blocks to recover.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue