From ceb4b719278dd54722cec3f2c0c64e01059d80f0 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 4 Oct 2021 12:33:40 -0600 Subject: [PATCH] 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 --- t/io_uring.c | 1 - 1 file changed, 1 deletion(-) 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++; -- 2.25.1