commit | 9b093d8fd80ef001dfa777f1edc5a7c49a37b943 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Oct 14 12:17:00 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:24 2015 -0800 |
tree | 226a20be2a6f87758c4c02f58e422c3aedaab8e9 | |
parent | 2b827faedef7fc8b62a993e07e623e84dcd3f1b3 [diff] [blame] |
engines/libaio: fix wrong setting of wait_start Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/engines/libaio.c b/engines/libaio.c index 12f3b36..f7e2f89 100644 --- a/engines/libaio.c +++ b/engines/libaio.c
@@ -281,7 +281,7 @@ } if (!wait_start) { fio_gettime(&tv, NULL); - wait_start = 0; + wait_start = 1; } else if (mtime_since_now(&tv) > 30000) { log_err("fio: aio appears to be stalled, giving up\n"); break;