mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 21:30:14 -05:00
Keeps stats about usage time of disk and cpu.
This commit is contained in:
parent
fb4f257593
commit
5dfc67ec18
11 changed files with 230 additions and 8 deletions
|
|
@ -644,6 +644,7 @@ struct snapraid_disk* disk_alloc(const char* name, const char* dir, uint64_t dev
|
|||
pathslash(disk->dir, sizeof(disk->dir));
|
||||
|
||||
disk->device = dev;
|
||||
disk->tick = 0;
|
||||
disk->first_free_block = 0;
|
||||
disk->has_volatile_inodes = 0;
|
||||
disk->has_unreliable_physical = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue