Documentation update
[fio.git] / file.h
diff --git a/file.h b/file.h
index dc22d4e058a177f373131acb370c838d4441b88f..30293fc9ddc34e4515a56cc8f5ab0091eb254030 100644 (file)
--- a/file.h
+++ b/file.h
@@ -74,6 +74,14 @@ struct fio_file {
 
        unsigned long long last_pos;
 
+       unsigned long long first_write;
+       unsigned long long last_write;
+
+       /*
+        * For use by the io engine
+        */
+       unsigned long long file_pos;
+
        /*
         * if io is protected by a semaphore, this is set
         */
@@ -147,6 +155,7 @@ static inline void fio_file_reset(struct fio_file *f)
 {
        f->last_free_lookup = 0;
        f->last_pos = f->file_offset;
+       f->file_pos = -1ULL;
        if (f->file_map)
                memset(f->file_map, 0, f->num_maps * sizeof(int));
 }