Unless the file is pre-populated, this cannot work. So warn the user
of such a bad construct, since the warning he/she receives from fio
only tells you about a verification error (which, technically, is what
is happening).
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
if (o->fill_device && !o->size)
o->size = ULONG_LONG_MAX;
if (o->fill_device && !o->size)
o->size = ULONG_LONG_MAX;
+
+ if (td_rw(td) && td->o.verify != VERIFY_NONE)
+ log_info("fio: mixed read/write workload with verify. May not "
+ "work as expected, unless you pre-populated the file\n");