iolog: remove assert in io_u overlap
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index a02c5829a494cf330a9394e731c0802b83b8b567..26f45f4d39a4c58bd6c6fca9c8262cf10c9b2f6d 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -782,11 +782,12 @@ static void show_thread_status_terse_v3(struct thread_stat *ts,
        /* Additional output if continue_on_error set - default off*/
        if (ts->continue_on_error)
                log_info(";%lu;%d", ts->total_err_count, ts->first_error);
-       log_info("\n");
 
        /* Additional output if description is set */
        if (strlen(ts->description))
                log_info(";%s", ts->description);
+
+       log_info("\n");
 }
 
 static void show_thread_status_terse(struct thread_stat *ts,
@@ -1343,7 +1344,7 @@ void add_iops_sample(struct thread_data *td, enum fio_ddir ddir,
                if (td->iops_log)
                        add_log_sample(td, td->iops_log, iops, ddir, 0);
 
-               td->stat_io_bytes[ddir] = td->this_io_bytes[ddir];
+               td->stat_io_blocks[ddir] = td->this_io_blocks[ddir];
        }
 
        fio_gettime(&td->iops_sample_time, NULL);