diskutil: get rid of disk_util_start_exit()
[fio.git] / diskutil.h
index d86e4ec7e69b7b0b3b41cb36e22dd5aa61f79d79..8623fd723b723053c59337984208c5c7f3f57a8e 100644 (file)
@@ -3,7 +3,7 @@
 #include "json.h"
 #define FIO_DU_NAME_SZ         64
 
-extern volatile int disk_util_exit;
+extern volatile int helper_exit;
 
 struct disk_util_stats {
        uint32_t ios[2];
@@ -100,8 +100,6 @@ static inline void disk_util_dec(struct disk_util *du)
 
 extern struct flist_head disk_list;
 
-extern void wait_for_disk_thread_exit(void);
-
 /*
  * disk util stuff
  */
@@ -127,12 +125,8 @@ static inline void print_disk_util(struct disk_util_stat *du,
 
 static inline int update_io_ticks(void)
 {
-       return disk_util_exit;
+       return helper_exit;
 }
 #endif
 
-static inline void disk_util_start_exit(void)
-{
-       disk_util_exit = 1;
-}
 #endif