X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=diskutil.h;h=91b42020a8077024607a3818c9314e7882189390;hp=ff8a5b065f5d8b9914a4160df53218cdab3d8e80;hb=1216cc5ad4701c001dc75fb86ae07f2c0f19df4c;hpb=ecfd2bb08cc87bc9a1b3d612258f1fdfb4d09698 diff --git a/diskutil.h b/diskutil.h index ff8a5b06..91b42020 100644 --- a/diskutil.h +++ b/diskutil.h @@ -46,7 +46,6 @@ struct disk_util { */ struct flist_head slavelist; - char *name; char *sysfs_root; char path[PATH_MAX]; int major, minor; @@ -65,7 +64,7 @@ struct disk_util { */ struct flist_head slaves; - struct timeval time; + struct timespec time; struct fio_mutex *lock; unsigned long users; @@ -115,6 +114,7 @@ extern int update_io_ticks(void); extern void setup_disk_util(void); extern void disk_util_prune_entries(void); #else +/* keep this as a function to avoid a warning in handle_du() */ static inline void print_disk_util(struct disk_util_stat *du, struct disk_util_agg *agg, int terse, struct buf_output *out)