Consolidate disk util, eta, and status check thread
We don't need two, we can just have one do everything.
Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/diskutil.h b/diskutil.h
index f621113..6b1ed6b 100644
--- a/diskutil.h
+++ b/diskutil.h
@@ -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];
@@ -125,12 +125,12 @@
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;
+ helper_exit = 1;
}
#endif