From efcc4586d3c8974118fd66d53a09ffd739d77d11 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 17 Jun 2010 20:51:54 +0200 Subject: [PATCH] Only apply verify interval to meta verifier, which uses it Signed-off-by: Jens Axboe --- init.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/init.c b/init.c index 966a0656..b97c802b 100644 --- a/init.c +++ b/init.c @@ -360,9 +360,11 @@ static int fixup_options(struct thread_data *td) 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]; + } } if (o->pre_read) { -- 2.25.1