[PATCH] Add verify_meta verification type
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.h b/fio.h
index 5f81300..235a13b 100644
--- a/fio.h
+++ b/fio.h
@@ -197,6 +197,7 @@
VERIFY_CRC7, /* crc7 sum data blocks */
VERIFY_SHA256, /* sha256 sum data blocks */
VERIFY_SHA512, /* sha512 sum data blocks */
+ VERIFY_META, /* block_num, timestamp etc. */
VERIFY_NULL, /* pretend to verify */
};
@@ -232,6 +233,13 @@
struct vhdr_crc7 {
uint8_t crc7;
};
+struct vhdr_meta {
+ uint64_t offset;
+ unsigned char thread;
+ unsigned short numberio;
+ unsigned long time_sec;
+ unsigned long time_usec;
+};
struct group_run_stats {
unsigned long long max_run[2], min_run[2];