From 10adc4a71b10e504d904bfc1db2d705342aa3851 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Sun, 8 Feb 2015 19:53:20 -0800 Subject: [PATCH] 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 Signed-off-by: Jens Axboe --- backend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend.c b/backend.c index 7ec8d2a3..0f6e4259 100644 --- 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) { -- 2.25.1