Rename thread_options' ->io_limit to io_size
[fio.git] / filesetup.c
index e2585ee92203858310391944a0df5fd942cd494c..74551a4338442f022d2b78096696efa63d68fee5 100644 (file)
@@ -993,8 +993,8 @@ int setup_files(struct thread_data *td)
         * stored entries.
         */
        if (!o->read_iolog_file) {
-               if (o->io_limit)
-                       td->total_io_size = o->io_limit * o->loops;
+               if (o->io_size)
+                       td->total_io_size = o->io_size * o->loops;
                else
                        td->total_io_size = o->size * o->loops;
        }