Fix verify state for multiple files
[fio.git] / file.h
diff --git a/file.h b/file.h
index a631766488fca12fbe40934def5d258f835d8f21..e7563b84638490ffda75998576ce57b492c012c7 100644 (file)
--- a/file.h
+++ b/file.h
@@ -97,6 +97,13 @@ struct fio_file {
        uint64_t first_write;
        uint64_t last_write;
 
        uint64_t first_write;
        uint64_t last_write;
 
+       /*
+        * Tracks the last iodepth number of completed writes, if data
+        * verification is enabled
+        */
+       uint64_t *last_write_comp;
+       unsigned int last_write_idx;
+
        /*
         * For use by the io engine
         */
        /*
         * For use by the io engine
         */