commit | 9a793c2f91a47df348237f1a9b778253ca87ec2e | [log] [tgz] |
---|---|---|
author | Jens Axboe <jaxboe@fusionio.com> | Fri Jan 14 15:22:14 2011 +0100 |
committer | Jens Axboe <jaxboe@fusionio.com> | Fri Jan 14 15:22:14 2011 +0100 |
tree | 95e2476cd6912734145eb85e8f2259e817e79a63 | |
parent | cfbcd0dc2fcbf0f9bfe92ff8f4ab17f21e46d21e [diff] [blame] |
Fix race in exit of eta/util thread Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/fio.c b/fio.c index 77451db..9d9027d 100644 --- a/fio.c +++ b/fio.c
@@ -135,6 +135,8 @@ while (threads) { usleep(DISK_UTIL_MSEC * 1000); + if (!threads) + break; update_io_ticks(); print_thread_status(); }