+void td_fill_rand_seeds(struct thread_data *td)
+{
+ os_random_seed(td->rand_seeds[0], &td->bsrange_state);
+ os_random_seed(td->rand_seeds[1], &td->verify_state);
+ os_random_seed(td->rand_seeds[2], &td->rwmix_state);
+
+ if (td->o.file_service_type == FIO_FSERVICE_RANDOM)
+ os_random_seed(td->rand_seeds[3], &td->next_file_state);
+
+ os_random_seed(td->rand_seeds[5], &td->file_size_state);
+
+ if (!td_random(td))
+ return;
+
+ if (td->o.rand_repeatable)
+ td->rand_seeds[4] = FIO_RANDSEED * td->thread_number;
+
+ os_random_seed(td->rand_seeds[4], &td->random_state);
+}
+