mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Print filenames in the stats screen
This commit is contained in:
parent
176851bbda
commit
b9740e06f4
9 changed files with 43 additions and 10 deletions
|
|
@ -490,9 +490,9 @@ static void io_refresh_thread(struct snapraid_io* io)
|
|||
cached = end - begin;
|
||||
|
||||
if (worker->parity_handle)
|
||||
io->state->parity[worker->parity_handle->level].cached = cached;
|
||||
io->state->parity[worker->parity_handle->level].cached_blocks = cached;
|
||||
else
|
||||
worker->handle->disk->cached = cached;
|
||||
worker->handle->disk->cached_blocks = cached;
|
||||
}
|
||||
|
||||
/* for all writers, count the number of written blocks */
|
||||
|
|
@ -509,7 +509,7 @@ static void io_refresh_thread(struct snapraid_io* io)
|
|||
end += io->io_max;
|
||||
cached = end - begin;
|
||||
|
||||
io->state->parity[worker->parity_handle->level].cached = cached;
|
||||
io->state->parity[worker->parity_handle->level].cached_blocks = cached;
|
||||
}
|
||||
|
||||
thread_mutex_unlock(&io->io_mutex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue