this option is given, fio will just get a new random offset without looking
at past I/O history. This means that some blocks may not be read or written,
and that some blocks may be read/written more than once. If this option is
- used with :option:`verify` and multiple blocksizes (via :option:`bsrange`),
- only intact blocks are verified, i.e., partially-overwritten blocks are
- ignored. With an async I/O engine and an I/O depth > 1, it is possible for
- the same block to be overwritten, which can cause verification errors. Either
- do not use norandommap in this case, or also use the lfsr random generator.
+ used with :option:`verify` then :option:`verify_header_seed` will be
+ disabled. If this option is used with :option:`verify` and multiple blocksizes
+ (via :option:`bsrange`), only intact blocks are verified, i.e.,
+ partially-overwritten blocks are ignored. With an async I/O engine and an I/O
+ depth > 1, it is possible for the same block to be overwritten, which can
+ cause verification errors. Either do not use norandommap in this case, or also
+ use the lfsr random generator.
.. option:: softrandommap=bool
this option is given, fio will just get a new random offset without looking
at past I/O history. This means that some blocks may not be read or written,
and that some blocks may be read/written more than once. If this option is
-used with \fBverify\fR and multiple blocksizes (via \fBbsrange\fR),
+used with \fBverify\fR then \fBverify_header_seed\fR will be disabled. If this
+option is used with \fBverify\fR and multiple blocksizes (via \fBbsrange\fR),
only intact blocks are verified, i.e., partially-overwritten blocks are
ignored. With an async I/O engine and an I/O depth > 1, it is possible for
the same block to be overwritten, which can cause verification errors. Either
}
/*
- * Disable rand_seed check when we have verify_backlog, or
- * zone reset frequency for zonemode=zbd.
+ * Disable rand_seed check when we have verify_backlog,
+ * zone reset frequency for zonemode=zbd, or norandommap.
* Unless we were explicitly asked to enable it.
*/
if (!td_write(td) || (td->flags & TD_F_VER_BACKLOG) ||
- o->zrf.u.f) {
+ o->zrf.u.f || o->norandommap) {
if (!fio_option_is_set(o, verify_header_seed))
o->verify_header_seed = 0;
}