initialize rate_io_issue_bytes
authorDaveGlen <dglen@micron.com>
Mon, 10 Aug 2015 19:39:31 +0000 (13:39 -0600)
committerDaveGlen <dglen@micron.com>
Mon, 10 Aug 2015 19:39:31 +0000 (13:39 -0600)
init.c

diff --git a/init.c b/init.c
index 7adee96..8e1f295 100644 (file)
--- a/init.c
+++ b/init.c
@@ -466,6 +466,7 @@ static int __setup_rate(struct thread_data *td, enum fio_ddir ddir)
        }
 
        td->rate_next_io_time[ddir] = 0;
+       td->rate_io_issue_bytes[ddir] = 0;
        return 0;
 }