mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 14:20:05 -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
|
|
@ -338,6 +338,7 @@ struct snapraid_disk {
|
|||
|
||||
uint64_t tick; /**< Usage time. */
|
||||
uint64_t progress_tick[PROGRESS_MAX]; /**< Last ticks of progress. */
|
||||
unsigned cached; /**< Number of IO blocks cached. */
|
||||
|
||||
/**
|
||||
* First free searching block.
|
||||
|
|
@ -432,6 +433,7 @@ struct snapraid_parity {
|
|||
|
||||
uint64_t tick; /**< Usage time. */
|
||||
uint64_t progress_tick[PROGRESS_MAX]; /**< Last cpu ticks of progress. */
|
||||
unsigned cached; /**< Number of IO blocks cached. */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue