doc: document profiles, minor fixes
[fio.git] / diskutil.h
index 25d0bebfc4074ec83074f8e3e423a89315df2851..04fdde2953d3dd9cafc1a5b8713f6900c5531c49 100644 (file)
@@ -4,8 +4,7 @@
 #define FIO_DU_NAME_SZ         64
 
 #include "lib/output_buffer.h"
-
-extern volatile int helper_exit;
+#include "helper_thread.h"
 
 struct disk_util_stats {
        uint64_t ios[2];
@@ -47,7 +46,6 @@ struct disk_util {
         */
        struct flist_head slavelist;
 
-       char *name;
        char *sysfs_root;
        char path[PATH_MAX];
        int major, minor;
@@ -129,7 +127,7 @@ static inline void print_disk_util(struct disk_util_stat *du,
 
 static inline int update_io_ticks(void)
 {
-       return helper_exit;
+       return helper_should_exit();
 }
 #endif