Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
if (o->verify != VERIFY_NONE) {
o->refill_buffers = 1;
if (o->verify != VERIFY_NONE) {
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 (o->verify == VERIFY_META) {
+ if (o->max_bs[DDIR_WRITE] != o->min_bs[DDIR_WRITE] &&
+ !o->verify_interval)
+ o->verify_interval = o->min_bs[DDIR_WRITE];
+ }