From f7a02882d04be552e0ab2ee535bbceb2c9a6d24e Mon Sep 17 00:00:00 2001 From: Packit Date: Sep 04 2020 09:08:33 +0000 Subject: Apply patch fio-eliminate-extra-log-samples.patch patch_name: fio-eliminate-extra-log-samples.patch present_in_specfile: true --- diff --git a/stat.c b/stat.c index d8c01d1..efa811d 100644 --- a/stat.c +++ b/stat.c @@ -2749,7 +2749,7 @@ static unsigned long add_log_sample(struct thread_data *td, return diff; } - _add_stat_to_log(iolog, elapsed, td->o.log_max != 0, priority_bit); + __add_stat_to_log(iolog, ddir, elapsed, td->o.log_max != 0, priority_bit); iolog->avg_last[ddir] = elapsed - (this_window - iolog->avg_msec); return iolog->avg_msec;