Add ->done variable to force exit when we know we are done
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index b7d8582ebdcba3fc1c7b6a3c99e2b434cabbd8ed..ace4b1646342bc4f30d4fba539763000eb6b5745 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -472,6 +472,7 @@ struct thread_data {
                os_random_state_t next_file_state;
        };
        int error;
+       int done;
        pid_t pid;
        char *orig_buffer;
        size_t orig_buffer_size;