Get rid of mixed rw and verify warning
authorJens Axboe <jaxboe@fusionio.com>
Sun, 27 Mar 2011 18:53:39 +0000 (20:53 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sun, 27 Mar 2011 18:53:39 +0000 (20:53 +0200)
Should workd fine.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
init.c

diff --git a/init.c b/init.c
index 65d573a..327a3c5 100644 (file)
--- a/init.c
+++ b/init.c
@@ -376,12 +376,6 @@ static int fixup_options(struct thread_data *td)
                o->size = -1ULL;
 
        if (o->verify != VERIFY_NONE) {
-               if (td_rw(td)) {
-                       log_info("fio: mixed read/write workload with verify. "
-                               "May not work as expected, unless you "
-                               "pre-populated the file\n");
-                       ret = warnings_fatal;
-               }
                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 "