X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=verify.c;h=cf299ebf9643b3a07896f48ef47efb6c2e6583e9;hp=a2c0d41dbb8c8f1b2136a5f33af79d069c51faec;hb=6463db6c1d3a2a961008e87a86d464b596886f1a;hpb=2198a6b5a9f40726b40aced24cf2dcdb3b639898 diff --git a/verify.c b/verify.c index a2c0d41d..cf299ebf 100644 --- a/verify.c +++ b/verify.c @@ -845,13 +845,11 @@ static int verify_header(struct io_u *io_u, struct thread_data *td, * For read-only workloads, the program cannot be certain of the * last numberio written to a block. Checking of numberio will be * done only for workloads that write data. For verify_only, - * numberio will be checked in the last iteration when the correct - * state of numberio, that would have been written to each block - * in a previous run of fio, has been reached. + * numberio check is skipped. */ if (td_write(td) && (td_min_bs(td) == td_max_bs(td)) && !td->o.time_based) - if (!td->o.verify_only || td->o.loops == 0) + if (!td->o.verify_only) if (hdr->numberio != io_u->numberio) { log_err("verify: bad header numberio %"PRIu16 ", wanted %"PRIu16,