Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jul 17, 2015

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit adaa73f65a8b805dced0b017984d536f215e4353:

README: no delay on sync to backup git hosts anymore (2015-07-15 08:43:03 -0600)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 1520f26e713a2fded6728ad372af0d7b8c197adf:

Re-seed random generator correctly between loops (2015-07-16 14:56:00 -0600)

----------------------------------------------------------------
Dave (1):
Re-seed random generator correctly between loops

 libfio.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

---

Diff of recent changes:

libfio.c +3 -2
index 3a28f55..30a3acb 100644
@@ -116,9 +116,10 @@ void clear_io_state(struct thread_data *td)
 	}
 
 	/*
-	 * Set the same seed to get repeatable runs
+	 * Re-Seed random number generator if rand_repeatable is true
 	 */
-	td_fill_rand_seeds(td);
+	if (td->o.rand_repeatable)
+		td_fill_rand_seeds(td);
 }
 
 void reset_all_stats(struct thread_data *td)