Multiple jobs and verify will not fail if do_verify=0
authorJens Axboe <jaxboe@fusionio.com>
Tue, 18 Jan 2011 12:41:39 +0000 (05:41 -0700)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 18 Jan 2011 12:41:39 +0000 (05:41 -0700)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
init.c

diff --git a/init.c b/init.c
index bce284664c8f2e965f19e8db16dd3f813cc0d360..15adf38509cac27ba495e3cba58635db24dead53 100644 (file)
--- 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");