Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Mar 19, 2016

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit a7ef38c4f0bb5ff11f46968e7fa5fa9a54c16de0:

Fio 2.8 (2016-03-15 09:10:37 -0700)

are available in the git repository at:

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

for you to fetch changes up to 87a0ea3b58ef3d126148cb0279e015177ef9c62f:

init: seed repeatable jobs differently (2016-03-18 09:07:16 -0700)

----------------------------------------------------------------
Jens Axboe (1):
init: seed repeatable jobs differently

 init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

init.c +1 -1
index 9052add..cc33bf0 100644
@@ -1079,7 +1079,7 @@ static int setup_random_seeds(struct thread_data *td)
 		seed *= 0x9e370001UL;
 
 	for (i = 0; i < FIO_RAND_NR_OFFS; i++) {
-		td->rand_seeds[i] = seed;
+		td->rand_seeds[i] = seed * td->thread_number + i;
 		seed *= 0x9e370001UL;
 	}