Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
refill_buffers If this option is given, fio will refill the IO buffers
on every submit. The default is to only fill it at init
time and reuse that data. Only makes sense if zero_buffers
- isn't specified, naturally.
+ isn't specified, naturally. If data verification is enabled,
+ refill_buffers is also automatically enabled.
nrfiles=int Number of files to use for this job. Defaults to 1.
log_info("fio: mixed read/write workload with verify. May not "
"work as expected, unless you pre-populated the file\n");
+ if (td->o.verify != VERIFY_NONE)
+ td->o.refill_buffers = 1;
+
return 0;
}