summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-01-18 05:41:39 -0700
committerJens Axboe <jaxboe@fusionio.com>2011-01-18 05:41:39 -0700
commit996936f995c47f4744a49e05419e7d4c0364c64e (patch)
tree050588eb523f042040da7d043ac010f7fab781ab
parent4c6107ff4db87f50545bad515543f5024bb39e4a (diff)
downloadfio-996936f995c47f4744a49e05419e7d4c0364c64e.tar.gz
fio-996936f995c47f4744a49e05419e7d4c0364c64e.tar.bz2
Multiple jobs and verify will not fail if do_verify=0
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index bce28466..15adf385 100644
--- a/init.c
+++ b/init.c
@@ -381,7 +381,7 @@ static int fixup_options(struct thread_data *td)
"pre-populated the file\n");
ret = warnings_fatal;
}
- if (td_write(td) && o->numjobs > 1) {
+ if (td_write(td) && o->do_verify && o->numjobs > 1) {
log_info("Multiple writers may overwrite blocks that "
"belong to other jobs. This can cause "
"verification failures.\n");