Keeps stats about usage time of disk and cpu.

This commit is contained in:
Andrea Mazzoleni 2014-06-25 22:32:36 +02:00
parent fb4f257593
commit 5dfc67ec18
11 changed files with 230 additions and 8 deletions

View file

@ -293,6 +293,8 @@ struct snapraid_disk {
char dir[PATH_MAX]; /**< Mount point of the disk. It always terminates with /. */
uint64_t device; /**< Device identifier. */
uint64_t tick; /**< Usage time of the disk. */
/**
* First free searching block.
* Note that it doesn't necessarely point at the first free block,