Adds the new status and scrub commands.

This commit is contained in:
Andrea Mazzoleni 2013-06-29 17:53:40 +02:00
parent edc885ac79
commit a32a1cd9a8
17 changed files with 978 additions and 87 deletions

2
sync.c
View file

@ -315,7 +315,7 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
}
/* update the time info of the block */
info_set(&state->infoarr, i, info_make(now));
info_set(&state->infoarr, i, info_make(now, 0));
}
/* mark the state as needing write */