summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-03-31 10:21:48 -0600
committerJens Axboe <axboe@kernel.dk>2020-03-31 10:21:48 -0600
commit839f607b5771081e96942977a1ff9f1b24b77bca (patch)
treeaae8d860c8f398e013d90be6cab989aab5f0d50d
parent983319d02626347d178b34320ac5835ae7ecad02 (diff)
parent640150c1b2c3cdbdd8baa5f1f3e7214a5c9a6533 (diff)
downloadfio-master.tar.gz
fio-master.tar.bz2
Merge branch 'github-issue-947' of https://github.com/vincentkfu/fioHEADmaster
* 'github-issue-947' of https://github.com/vincentkfu/fio: stat: eliminate extra log samples
-rw-r--r--stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stat.c b/stat.c
index d8c01d14..efa811d2 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;