Print stats of the number of cached blocks

This commit is contained in:
Andrea Mazzoleni 2016-01-27 20:37:31 +01:00
parent 5f8fd36b45
commit 252d613eae
10 changed files with 98 additions and 12 deletions

View file

@ -599,7 +599,7 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
++countpos;
/* progress */
if (state_progress(state, blockcur, countpos, countmax, countsize)) {
if (state_progress(state, &io, blockcur, countpos, countmax, countsize)) {
/* LCOV_EXCL_START */
break;
/* LCOV_EXCL_STOP */