Add ->done variable to force exit when we know we are done
[fio.git] / log.c
diff --git a/log.c b/log.c
index cc90f437041dcc6723f673c76b1c9c992d0077ec..7a3327e5d29c2909700ba3413ae1bd903ce1f197 100644 (file)
--- a/log.c
+++ b/log.c
@@ -91,6 +91,7 @@ int read_iolog_get(struct thread_data *td, struct io_u *io_u)
                return 0;
        }
 
+       td->done = 1;
        return 1;
 }