Recent changes (master)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

diff --git a/libfio.c b/libfio.c
index 3a28f55..30a3acb 100644
--- a/libfio.c
+++ b/libfio.c
@@ -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)
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux