X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=diskutil.h;h=ff8a5b065f5d8b9914a4160df53218cdab3d8e80;hb=63a26e05622b0ced2cc685f545f493e794ccc325;hp=25d0bebfc4074ec83074f8e3e423a89315df2851;hpb=f672ef67527a27eb2bbc59aa6041a42d88a00838;p=fio.git 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