* If sort not enabled, or not a pure random read workload without
* any stored write metadata, just return a random offset
*/
- if (!td->o.verifysort_nr || !(ddir == READ && td->o.do_verify &&
+ if (!td->o.verifysort_nr || !(ddir == DDIR_READ && td->o.do_verify &&
td->o.verify != VERIFY_NONE && td_random(td)))
return get_off_from_method(td, f, ddir, b);
ret = 1;
}
}
-
+
if (!ret) {
if (offset != -1ULL)
io_u->offset = offset;