use 'lib/pattern' to parse patterns and paste formats into buffers
[fio.git] / thread_options.h
index aa7f3f2657c8c985e94ec1449e01a34b5fed1ce5..38936e9a9e811e8e5d092a9de08eaefecff5f199 100644 (file)
@@ -7,6 +7,7 @@
 #include "stat.h"
 #include "gettime.h"
 #include "lib/ieee754.h"
+#include "lib/pattern.h"
 #include "td_error.h"
 
 /*
@@ -97,6 +98,8 @@ struct thread_options {
        unsigned int verify_offset;
        char verify_pattern[MAX_PATTERN_SIZE];
        unsigned int verify_pattern_bytes;
+       struct pattern_fmt verify_fmt[8];
+       unsigned int verify_fmt_sz;
        unsigned int verify_fatal;
        unsigned int verify_dump;
        unsigned int verify_async;
@@ -265,6 +268,14 @@ struct thread_options {
 
        unsigned block_error_hist;
        unsigned int skip_bad;
+
+       unsigned int replay_align;
+       unsigned int replay_scale;
+
+       unsigned int per_job_logs;
+
+       unsigned int allow_create;
+       unsigned int allow_mounted_write;
 };
 
 #define FIO_TOP_STR_MAX                256
@@ -495,6 +506,14 @@ struct thread_options_pack {
 
        uint32_t block_error_hist;
        uint32_t skip_bad;
+
+       uint32_t replay_align;
+       uint32_t replay_scale;
+
+       uint32_t per_job_logs;
+
+       uint32_t allow_create;
+       uint32_t allow_mounted_write;
 } __attribute__((packed));
 
 extern void convert_thread_options_to_cpu(struct thread_options *o, struct thread_options_pack *top);