From: Jens Axboe Date: Sat, 28 Aug 2021 21:37:25 +0000 (-0600) Subject: t/io_uring: further simplify inflight tracking X-Git-Tag: fio-3.28~16 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=4f2152278e0b3c35ded02fb3e6fb550eab7bedcd;p=fio.git t/io_uring: further simplify inflight tracking Don't dump the last submitter inflight as well, just use file_depths() for all of them. Signed-off-by: Jens Axboe --- diff --git a/t/io_uring.c b/t/io_uring.c index 607c7946..3130e469 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -530,7 +530,7 @@ static void file_depths(char *buf) if (prev) p += sprintf(p, " %d", f->pending_ios); else - p += sprintf(p, "%d ", f->pending_ios); + p += sprintf(p, "%d", f->pending_ios); prev = true; } } @@ -708,9 +708,8 @@ int main(int argc, char *argv[]) } else rpc = ipc = -1; file_depths(fdepths); - printf("IOPS=%lu, IOS/call=%ld/%ld, inflight=%u (%s)\n", - this_done - done, rpc, ipc, s->inflight, - fdepths); + printf("IOPS=%lu, IOS/call=%ld/%ld, inflight=(%s)\n", + this_done - done, rpc, ipc, fdepths); done = this_done; calls = this_call; reap = this_reap;