Correct check to o->numjobs > 1 for verify warning
authorJens Axboe <jaxboe@fusionio.com>
Mon, 17 Jan 2011 23:51:46 +0000 (16:51 -0700)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 17 Jan 2011 23:51:46 +0000 (16:51 -0700)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
init.c

diff --git a/init.c b/init.c
index 2d467171f0bc0410adaccb897bf12679aaf913fc..dcb01934701e1a47d1ca9e9d084989c66eda1c77 100644 (file)
--- a/init.c
+++ b/init.c
@@ -379,7 +379,7 @@ static int fixup_options(struct thread_data *td)
                                "pre-populated the file\n");
                        ret = warnings_fatal;
                }
-               if (td_write(td) && o->numjobs) {
+               if (td_write(td) && o->numjobs > 1) {
                        log_info("Multiple writers may overwrite blocks that "
                                "belong to other jobs. This can cause "
                                "verification failures.\n");