Fix loop with multiple files
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 92e6a88d66881378eb4d6d407e158775fa11e097..07b40ff47780a17e6ed3b0248e2e3c708e91b547 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -449,6 +449,7 @@ struct thread_data {
        struct fio_file *files;
        unsigned int files_index;
        unsigned int nr_open_files;
        struct fio_file *files;
        unsigned int files_index;
        unsigned int nr_open_files;
+       unsigned int nr_done_files;
        unsigned int nr_normal_files;
        union {
                unsigned int next_file;
        unsigned int nr_normal_files;
        union {
                unsigned int next_file;