projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c534761
)
t/io_uring: don't print BW numbers for do_nop
author
Jens Axboe
<axboe@kernel.dk>
Fri, 24 Sep 2021 21:17:44 +0000
(15:17 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 24 Sep 2021 21:17:44 +0000
(15:17 -0600)
They don't mean anything for nops, we're just interested in IOPS here.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c
patch
|
blob
|
blame
|
history
diff --git
a/t/io_uring.c
b/t/io_uring.c
index af1b8fa8ace0ecf909e59a8d8db20cfefa4d4417..d563638019ad87edff09d3d7944a553bd145add8 100644
(file)
--- a/
t/io_uring.c
+++ b/
t/io_uring.c
@@
-751,8
+751,10
@@
int main(int argc, char *argv[])
bw = iops * (bs / 1048576);
else
bw = iops / (1048576 / bs);
- printf("IOPS=%lu, BW=%luMiB/s, IOS/call=%ld/%ld, inflight=(%s)\n",
- iops, bw, rpc, ipc, fdepths);
+ printf("IOPS=%lu, ", iops);
+ if (!do_nop)
+ printf("BW=%luMiB/s, ", bw);
+ printf("IOS/call=%ld/%ld, inflight=(%s)\n", rpc, ipc, fdepths);
done = this_done;
calls = this_call;
reap = this_reap;