mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 13:20:28 -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
|
|
@ -742,6 +742,7 @@ struct snapraid_disk* disk_alloc(const char* name, const char* dir, uint64_t dev
|
|||
disk->smartctl[0] = 0;
|
||||
disk->device = dev;
|
||||
disk->tick = 0;
|
||||
disk->cached = 0;
|
||||
disk->total_blocks = 0;
|
||||
disk->free_blocks = 0;
|
||||
disk->first_free_block = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue