summaryrefslogtreecommitdiff
path: root/fio.c
diff options
context:
space:
mode:
Diffstat (limited to 'fio.c')
-rw-r--r--fio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fio.c b/fio.c
index f699951d..ad2282d7 100644
--- a/fio.c
+++ b/fio.c
@@ -876,6 +876,11 @@ static void reset_io_counters(struct thread_data *td)
*/
if (td->o.time_based || td->o.loops)
td->nr_done_files = 0;
+
+ /*
+ * Set the same seed to get repeatable runs
+ */
+ td_fill_rand_seeds(td);
}
void reset_all_stats(struct thread_data *td)