summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f3e11d0)
Otherwise workloads with bsrange settings will not work properly.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
log_info("fio: mixed read/write workload with verify. May not "
"work as expected, unless you pre-populated the file\n");
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)
+ if (td->o.verify != VERIFY_NONE) {
td->o.refill_buffers = 1;
td->o.refill_buffers = 1;
+ if (o->max_bs[DDIR_WRITE] != o->min_bs[DDIR_WRITE] &&
+ !o->verify_interval)
+ o->verify_interval = o->min_bs[DDIR_WRITE];
+ }
if (td->o.pre_read) {
td->o.invalidate_cache = 0;
if (td->o.pre_read) {
td->o.invalidate_cache = 0;