Overwrite fix
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index 36dde3a6562ea06ce35ae07ba14c94ce2e3f5a3f..cc65e3d0cf197ec46b978283b4c754d4cdf5f396 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -636,6 +636,7 @@ static int clear_io_state(struct thread_data *td)
        td->ts.stat_io_bytes[0] = td->ts.stat_io_bytes[1] = 0;
        td->this_io_bytes[0] = td->this_io_bytes[1] = 0;
        td->zone_bytes = 0;
+       td->rate_bytes = 0;
 
        td->last_was_sync = 0;