From: Jens Axboe Date: Mon, 4 Oct 2021 18:33:40 +0000 (-0600) Subject: t/io_uring: remove extra add_stat() call X-Git-Tag: fio-3.29~80 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ceb4b719278dd54722cec3f2c0c64e01059d80f0;p=fio.git t/io_uring: remove extra add_stat() call If we're batching the stat updates, it's incorrect to add the individual stat. Would have skewed the percentiles, and make -t1 run slower than it otherwise would have. Fixes: ab85494f8bf0 ("t/io_uring: batch stat updates") Signed-off-by: Jens Axboe --- diff --git a/t/io_uring.c b/t/io_uring.c index 2ec4caeb..217697b2 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -519,7 +519,6 @@ static int reap_events(struct submitter *s) last_idx = clock_index; } stat_nr++; - add_stat(s, clock_index, 1); } reaped++; head++;