X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=iolog.c;h=760d7b0a43d97962bb7d065c6e464c7b89a7f5f5;hb=4784476426793575eb58c0fc245176b1f96208ce;hp=b041eff43784e3963a074295fa22b2bb5b4e0734;hpb=8d4564e9884cbc6082b798cd828eb43da1bb35ff;p=fio.git diff --git a/iolog.c b/iolog.c index b041eff4..760d7b0a 100644 --- a/iolog.c +++ b/iolog.c @@ -231,13 +231,12 @@ void log_io_piece(struct thread_data *td, struct io_u *io_u) * writes. In this case, just reading back data in the order we wrote * it out is the faster but still safe. * - * One exception is if we don't have a random map AND we are doing - * verifies, in that case we need to check for duplicate blocks and - * drop the old one, which we rely on the rb insert/lookup for - * handling. + * One exception is if we don't have a random map in which case we need + * to check for duplicate blocks and drop the old one, which we rely on + * the rb insert/lookup for handling. */ if (((!td->o.verifysort) || !td_random(td)) && - (file_randommap(td, ipo->file) || td->o.verify == VERIFY_NONE)) { + file_randommap(td, ipo->file)) { INIT_FLIST_HEAD(&ipo->list); flist_add_tail(&ipo->list, &td->io_hist_list); ipo->flags |= IP_F_ONLIST;