projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e28dd2c
)
verify: Fix latency log for verify commands.
author
Gwendal Grignou
<gwendal@chromium.org>
Mon, 9 Feb 2015 03:53:20 +0000
(19:53 -0800)
committer
Jens Axboe
<axboe@fb.com>
Mon, 9 Feb 2015 15:18:03 +0000
(08:18 -0700)
When commands when requeued for the verify operation,
their start time was not reset, resulting in bogus latency graphs.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c
patch
|
blob
|
blame
|
history
diff --git
a/backend.c
b/backend.c
index 7ec8d2a3d7b438a954e0bf0c7db04f21416ff072..0f6e4259c4cd5eee6f490bb50e344b95db9c976b 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-565,6
+565,8
@@
static void do_verify(struct thread_data *td, uint64_t verify_bytes)
io_u->end_io = verify_io_u;
ddir = io_u->ddir;
+ if (!td->o.disable_slat)
+ fio_gettime(&io_u->start_time, NULL);
ret = td_io_queue(td, io_u);
switch (ret) {