From: Jens Axboe Date: Thu, 7 Aug 2014 21:27:31 +0000 (-0600) Subject: verify: turn off numberio verification for meta and time_based X-Git-Tag: fio-2.1.12~12 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=b7f5c00db0d450aff09b35301bedf16e26e25d3a;p=fio.git verify: turn off numberio verification for meta and time_based Will only work for the first iteration, then fail miserably. Signed-off-by: Jens Axboe --- diff --git a/verify.c b/verify.c index 3d7c5de9..35d89696 100644 --- a/verify.c +++ b/verify.c @@ -411,7 +411,8 @@ static int verify_io_u_meta(struct verify_header *hdr, struct vcont *vc) * state of numberio, that would have been written to each block * in a previous run of fio, has been reached. */ - if ((td_write(td) || td_rw(td)) && (td_min_bs(td) == td_max_bs(td))) + if ((td_write(td) || td_rw(td)) && (td_min_bs(td) == td_max_bs(td)) && + !td->o.time_based) if (!td->o.verify_only || td->o.loops == 0) if (vh->numberio != io_u->numberio) ret = EILSEQ;