server: ensure that fio_time_init() is called before option parsing
authorBruce Cran <bcran@fusionio.com>
Fri, 1 Nov 2013 18:32:40 +0000 (12:32 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Nov 2013 18:32:40 +0000 (12:32 -0600)
When run in server mode, jobs are processed before fio_time_init()
is called, which causes pthread_setspecific() to be called before
pthread_key_create(). Work around this by calling it in thread_main()
too.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found