Print filenames in the stats screen

This commit is contained in:
Andrea Mazzoleni 2017-11-19 19:33:47 +01:00
parent 176851bbda
commit b9740e06f4
9 changed files with 43 additions and 10 deletions

View file

@ -248,6 +248,8 @@ static int state_hash_process(struct snapraid_state* state, block_off_t blocksta
/* until now is disk */
state_usage_disk(state, handle, &j, 1);
state_usage_file(state, disk, file);
countsize += read_size;
/* now compute the hash */
@ -851,6 +853,8 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
if (!disk)
continue;
state_usage_file(state, disk, file);
/* get the state of the block */
block_state = block_state_get(block);