fix load_ioengine() not to support no "external:" prefix
[fio.git] / diskutil.h
index 04fdde2953d3dd9cafc1a5b8713f6900c5531c49..91b42020a8077024607a3818c9314e7882189390 100644 (file)
@@ -64,7 +64,7 @@ struct disk_util {
         */
        struct flist_head slaves;
 
-       struct timeval time;
+       struct timespec time;
 
        struct fio_mutex *lock;
        unsigned long users;
@@ -114,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)