diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-02-08 19:53:20 -0800 |
---|---|---|
committer | Mohamad Ayyash <mkayyash@google.com> | 2015-03-06 17:58:16 -0800 |
commit | 7318762572051fc71be15d75dd3fb05e88f70717 (patch) | |
tree | ef46dc2b6ab80da9e3db417d08bd125878cb8cc0 | |
parent | 1b7ab803d8914d355bbb61e81e3d745592c04fce (diff) | |
download | fio-7318762572051fc71be15d75dd3fb05e88f70717.tar.gz |
verify: Fix latency log for verify commands.
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>
-rw-r--r-- | backend.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |