commit | d54a144d8ce8531659f730f99eb7d6873c9d159c | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 25 23:07:35 2010 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Mar 25 23:07:35 2010 +0100 |
tree | 3bd620bc9865f92e48f4a2e8ee714f31efb95935 | |
parent | 7e744013dca36be3840c45d13f4ae09947282bea [diff] [blame] |
Remember to prime the random generator Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.c b/fio.c index dfda268..03dc6cc 100644 --- a/fio.c +++ b/fio.c
@@ -41,6 +41,7 @@ #include "diskutil.h" #include "cgroup.h" #include "profile.h" +#include "lib/rand.h" unsigned long page_mask; unsigned long page_size; @@ -1636,6 +1637,7 @@ long ps; sinit(); + init_rand(&__fio_rand_state); /* * We need locale for number printing, if it isn't set then just