mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 09:26:27 -05:00
Stores the free space in the content file.
This avoids the need to access data and parity disks in the status command. Also removed some data disk access, in list, dup and similar commands that don't need to scan the disks.
This commit is contained in:
parent
8ee1131bed
commit
7e9a5e6a6d
12 changed files with 519 additions and 128 deletions
|
|
@ -1090,6 +1090,9 @@ int state_sync(struct snapraid_state* state, block_off_t blockstart, block_off_t
|
|||
}
|
||||
}
|
||||
|
||||
/* after opening and resizing parity files, refresh the free info */
|
||||
state_refresh(state);
|
||||
|
||||
unrecoverable_error = 0;
|
||||
|
||||
if (state->opt.prehash) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue