From: Jens Axboe Date: Fri, 6 May 2016 20:38:19 +0000 (-0600) Subject: diskutil: adapt to new helper_thread functions X-Git-Tag: fio-2.10~39 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e2bb0e5819fd977a17a79aa6fc44fb86e807cd75;p=fio.git diskutil: adapt to new helper_thread functions We don't have helper_exit anymore. This caused the link to fail on platforms where we don't have diskutil support. Signed-off-by: Jens Axboe --- diff --git a/diskutil.h b/diskutil.h index 25d0bebf..ff8a5b06 100644 --- a/diskutil.h +++ b/diskutil.h @@ -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]; @@ -129,7 +128,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