IO verification improvements
[fio.git] / init.c
diff --git a/init.c b/init.c
index 8be2a10a5a1cd779952bc655633b90698592c5cc..2514d90c53ce43d82d4029e804a9609a4e1eddf5 100644 (file)
--- a/init.c
+++ b/init.c
@@ -222,9 +222,6 @@ static int fixup_options(struct thread_data *td)
        if (!o->file_size_high)
                o->file_size_high = o->file_size_low;
 
        if (!o->file_size_high)
                o->file_size_high = o->file_size_low;
 
-       if (td_read(td) && !td_rw(td))
-               o->verify = 0;
-
        if (o->norandommap && o->verify != VERIFY_NONE) {
                log_err("fio: norandommap given, verify disabled\n");
                o->verify = VERIFY_NONE;
        if (o->norandommap && o->verify != VERIFY_NONE) {
                log_err("fio: norandommap given, verify disabled\n");
                o->verify = VERIFY_NONE;