From: Jens Axboe Date: Thu, 22 Jun 2017 23:15:27 +0000 (-0600) Subject: iolog: ensure proper flushing of compressed logs X-Git-Tag: fio-2.99~66 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=836365452f6525a7d670205b823f7982de48f844;ds=sidebyside iolog: ensure proper flushing of compressed logs Signed-off-by: Jens Axboe --- diff --git a/iolog.h b/iolog.h index 6274aef9..d157fa28 100644 --- a/iolog.h +++ b/iolog.h @@ -264,7 +264,7 @@ struct log_params { static inline bool per_unit_log(struct io_log *log) { - return log && !log->avg_msec; + return log && (!log->avg_msec || log->log_gz || log->log_gz_store); } static inline bool inline_log(struct io_log *log)