Allow threads 60 seconds to exit before being forceful
authorJens Axboe <axboe@fb.com>
Wed, 9 Jul 2014 06:46:12 +0000 (08:46 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 9 Jul 2014 06:46:12 +0000 (08:46 +0200)
commitcba5460c70058e4612f73ded4ac960cbc6ce1a30
tree8c1d35202a7c7be13cd510ff2c2234808133de28
parenta68c66b25470a0f6cae4e6955bbef767ec9e4d68
Allow threads 60 seconds to exit before being forceful

Right now the fio status thread can sit forever waiting for jobs
to exit, when ctrl-c (or another signal) is sent. Be a bit more
brutal and force quit jobs if they haven't exited on their own
in 60 seconds. That should be long enough to ensure that they
are stuck in some way.

Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c
fio.h
libfio.c