iolog: check for thread termination in long delays
authorJens Axboe <axboe@fb.com>
Thu, 10 Apr 2014 22:03:32 +0000 (00:03 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 10 Apr 2014 22:03:32 +0000 (00:03 +0200)
commit30b18672f5318b7f6de70da6fdc9577737e7a6e6
treefe56f0fae36a97401d319e2e0f525957d71d1ee2
parentdfe11fd1e8249a52c42f34c9e9e6b910ab6b05c5
iolog: check for thread termination in long delays

If we are doing a long delay now, fio won't be able to kill
the thread when you ctrl-c the job. Split the delay into .5s
intervals, and check for signal in between.

Signed-off-by: Jens Axboe <axboe@fb.com>
iolog.c