Fix rate option with iodepth > 1
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 3b2dd6edcfd51c74ab20ec0d439b723b88802bcd..119dc09e74b47728c85095a5445dbbcaecbd944f 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -359,7 +359,7 @@ struct thread_data {
        /*
         * Rate state
         */
-       unsigned long rate_usec_cycle[2];
+       unsigned long rate_nsec_cycle[2];
        long rate_pending_usleep[2];
        unsigned long rate_bytes[2];
        unsigned long rate_blocks[2];