X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=eta.c;h=625b1f885e9899ea1e4d49639d73c14dcac6ec48;hp=39241c5aaf5a529dee695e86ef09c5c17d1efb15;hb=bb446c117849b39ece795602774c3716eef6064a;hpb=cf4464ca60ce75ac241c621bc70a2500beeb782f diff --git a/eta.c b/eta.c index 39241c5a..625b1f88 100644 --- a/eta.c +++ b/eta.c @@ -107,7 +107,7 @@ static int thread_eta(struct thread_data *td, unsigned long elapsed) * if writing, bytes_total will be twice the size. If mixing, * assume a 50/50 split and thus bytes_total will be 50% larger. */ - if (td->o.verify) { + if (td->o.do_verify && td->o.verify && td_write(td)) { if (td_rw(td)) bytes_total = bytes_total * 3 / 2; else