Setting up for v1.9

Prints the new Opening parity message before the real work.
This commit is contained in:
Andrea Mazzoleni 2012-02-02 19:26:33 +01:00
parent 351ebba930
commit 45e54685da
4 changed files with 13 additions and 6 deletions

4
sync.c
View file

@ -300,7 +300,7 @@ int state_sync(struct snapraid_state* state, block_off_t blockstart, block_off_t
struct snapraid_parity* qarity_ptr;
unsigned unrecoverable_error;
printf("Syncing...\n");
printf("Opening parity...\n");
blockmax = parity_resize(state);
size = blockmax * (data_off_t)state->block_size;
@ -334,6 +334,8 @@ int state_sync(struct snapraid_state* state, block_off_t blockstart, block_off_t
qarity_ptr = 0;
}
printf("Syncing...\n");
unrecoverable_error = 0;
/* skip degenerated cases of empty parity, or skipping all */