mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 22:00:19 -05:00
Print stats of the number of cached blocks
This commit is contained in:
parent
5f8fd36b45
commit
252d613eae
10 changed files with 98 additions and 12 deletions
|
|
@ -334,7 +334,7 @@ static int state_dry_process(struct snapraid_state* state, struct snapraid_parit
|
|||
++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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue