gfio: add high/low priority latency results
[fio.git] / file.h
diff --git a/file.h b/file.h
index c0a547eb1d2dc4ed1ca784f811265841328e6c25..ae0e6fc8996d02f8ca2e5a76629a3dd3cf94b00d 100644 (file)
--- a/file.h
+++ b/file.h
@@ -10,6 +10,9 @@
 #include "lib/lfsr.h"
 #include "lib/gauss.h"
 
+/* Forward declarations */
+struct zoned_block_device_info;
+
 /*
  * The type of object we are working on
  */
@@ -64,6 +67,7 @@ enum fio_fallocate_mode {
        FIO_FALLOCATE_POSIX     = 2,
        FIO_FALLOCATE_KEEP_SIZE = 3,
        FIO_FALLOCATE_NATIVE    = 4,
+       FIO_FALLOCATE_TRUNCATE  = 5,
 };
 
 /*
@@ -86,7 +90,6 @@ struct fio_file {
         */
        unsigned int major, minor;
        int fileno;
-       unsigned long long bs;
        char *file_name;
 
        /*
@@ -97,6 +100,11 @@ struct fio_file {
        uint64_t file_offset;
        uint64_t io_size;
 
+       /*
+        * Zoned block device information. See also zonemode=zbd.
+        */
+       struct zoned_block_device_info *zbd_info;
+
        /*
         * Track last end and last start of IO for a given data direction
         */