Switch to using our internal Tausworthe based random generator for offsets
[fio.git] / init.c
diff --git a/init.c b/init.c
index 327a3c5edc6a78e171f9a2cdeb50613f75db2d01..2ae93a026f2aad21025ea3eae8bfc1491646062b 100644 (file)
--- a/init.c
+++ b/init.c
@@ -482,6 +482,7 @@ void td_fill_rand_seeds(struct thread_data *td)
                td->rand_seeds[4] = FIO_RANDSEED * td->thread_number;
 
        os_random_seed(td->rand_seeds[4], &td->random_state);
+       init_rand_seed(&td->__random_state, td->rand_seeds[4]);
 }
 
 /*