commit | 386626f66c67c16c4ff0032b8ceacd4b8a7eb8fa | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Mon Jun 09 13:25:13 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:07 2015 -0800 |
tree | 09a68abbfc292243b72b0dc84b101491342e77ba | |
parent | 6bc303722302b80a73d0fa2a0f30ec7df7cdefc7 [diff] [blame] |
Fix regression introduced by commit 334185e We need to run fio_time_init() before the threads are invoked, but we should do it in global context so that all threads share the same clock and init settings. Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/server.c b/server.c index 077dce5..8865502 100644 --- a/server.c +++ b/server.c
@@ -555,6 +555,7 @@ pid_t pid; int ret; + fio_time_init(); set_genesis_time(); pid = fork();