From: Jens Axboe Date: Wed, 13 Oct 2021 12:17:44 +0000 (-0600) Subject: t/io_uring: don't append 'K' to IOPS if we don't divide by 1000 X-Git-Tag: fio-3.29~63 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=53b5fa1ea4f821899440637ab632ce0e1687c916;p=fio.git t/io_uring: don't append 'K' to IOPS if we don't divide by 1000 Impressive two errors in that silly change. Reported-by: Erwan Velu Fixes: dc10c23ab9a7 ("t/io_uring: show IOPS in increments of 1000 IOPS if necessary") Signed-off-by: Jens Axboe --- diff --git a/t/io_uring.c b/t/io_uring.c index 84960ba9..1b729ebf 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -1361,7 +1361,7 @@ int main(int argc, char *argv[]) if (iops > 100000) printf("IOPS=%luK, ", iops / 1000); else - printf("IOPS=%luK, ", iops); + printf("IOPS=%lu, ", iops); if (!do_nop) printf("BW=%luMiB/s, ", bw); printf("IOS/call=%ld/%ld, inflight=(%s)\n", rpc, ipc, fdepths);