mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 04:46:46 -05:00
Change the interface for parity allocation
This will allow a more compact representation of the parity allocation
This commit is contained in:
parent
2801634aa4
commit
0407c945db
15 changed files with 449 additions and 286 deletions
|
|
@ -67,7 +67,7 @@ static int state_dry_process(struct snapraid_state* state, struct snapraid_parit
|
|||
continue;
|
||||
}
|
||||
|
||||
block = disk_block_get(disk, i);
|
||||
block = fs_par2block_get(disk, i);
|
||||
|
||||
if (!block_has_file(block)) {
|
||||
/* if no file, nothing to do */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue