summaryrefslogtreecommitdiff
path: root/verify.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-02-23 08:23:18 +0100
committerJens Axboe <axboe@kernel.dk>2012-02-23 08:23:18 +0100
commitd3a173a927084660c365d6aa162016ebb0746946 (patch)
tree43e662f4dc63ffaaa03ae33585e803f28e4a5419 /verify.h
parente5b8f91cc6229a5f8b38f1338fad29c800fef179 (diff)
Remove holes in verify_header structure
Shrink the magic and verify_type members, and reorder so that it packs nicely. Incompatible change, write workloads must be re-run. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'verify.h')
-rw-r--r--verify.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/verify.h b/verify.h
index ec7365c..7c238c8 100644
--- a/verify.h
+++ b/verify.h
@@ -3,8 +3,7 @@
#include <stdint.h>
-#define FIO_HDR_MAGIC 0xf00baaef
-#define FIO_HDR_MAGIC2 0xf00dbeef
+#define FIO_HDR_MAGIC 0xacca
enum {
VERIFY_NONE = 0, /* no verification */
@@ -29,12 +28,10 @@ enum {
* data.
*/
struct verify_header {
- uint32_t fio_magic;
+ uint16_t magic;
+ uint16_t verify_type;
uint32_t len;
- uint32_t verify_type;
- uint32_t pad1;
uint64_t rand_seed;
- uint32_t pad2;
uint32_t crc32;
};