unsigned int verify_pattern_bytes;
struct pattern_fmt verify_fmt[8];
unsigned int verify_fmt_sz;
unsigned int verify_pattern_bytes;
struct pattern_fmt verify_fmt[8];
unsigned int verify_fmt_sz;
unsigned int do_disk_util;
unsigned int override_sync;
unsigned int rand_repeatable;
unsigned int do_disk_util;
unsigned int override_sync;
unsigned int rand_repeatable;
unsigned long long rand_seed;
unsigned int log_avg_msec;
unsigned int log_hist_msec;
unsigned long long rand_seed;
unsigned int log_avg_msec;
unsigned int log_hist_msec;
unsigned int log_alternate_epoch;
unsigned int log_alternate_epoch_clock_id;
unsigned int norandommap;
unsigned int log_alternate_epoch;
unsigned int log_alternate_epoch_clock_id;
unsigned int norandommap;
unsigned int zero_buffers;
unsigned int refill_buffers;
unsigned int scramble_buffers;
unsigned int zero_buffers;
unsigned int refill_buffers;
unsigned int scramble_buffers;
unsigned int buffer_pattern_bytes;
unsigned int compress_percentage;
unsigned int compress_chunk;
unsigned int dedupe_percentage;
unsigned int dedupe_mode;
unsigned int dedupe_working_set_percentage;
unsigned int buffer_pattern_bytes;
unsigned int compress_percentage;
unsigned int compress_chunk;
unsigned int dedupe_percentage;
unsigned int dedupe_mode;
unsigned int dedupe_working_set_percentage;
unsigned int sync_file_range;
unsigned long long latency_target;
unsigned long long latency_window;
unsigned int sync_file_range;
unsigned long long latency_target;
unsigned long long latency_window;
uint32_t iodepth_batch_complete_min;
uint32_t iodepth_batch_complete_max;
uint32_t serialize_overlap;
uint32_t iodepth_batch_complete_min;
uint32_t iodepth_batch_complete_max;
uint32_t serialize_overlap;
uint32_t buffer_pattern_bytes;
uint32_t compress_percentage;
uint32_t compress_chunk;
uint32_t dedupe_percentage;
uint32_t dedupe_mode;
uint32_t dedupe_working_set_percentage;
uint32_t buffer_pattern_bytes;
uint32_t compress_percentage;
uint32_t compress_chunk;
uint32_t dedupe_percentage;
uint32_t dedupe_mode;
uint32_t dedupe_working_set_percentage;
uint32_t lat_percentiles;
uint32_t slat_percentiles;
uint32_t percentile_precision;
uint32_t lat_percentiles;
uint32_t slat_percentiles;
uint32_t percentile_precision;
-extern void convert_thread_options_to_cpu(struct thread_options *o, struct thread_options_pack *top);
+extern int convert_thread_options_to_cpu(struct thread_options *o,
+ struct thread_options_pack *top, size_t top_sz);
+extern size_t thread_options_pack_size(struct thread_options *o);
extern void convert_thread_options_to_net(struct thread_options_pack *top, struct thread_options *);
extern int fio_test_cconv(struct thread_options *);
extern void options_default_fill(struct thread_options *o);
extern void convert_thread_options_to_net(struct thread_options_pack *top, struct thread_options *);
extern int fio_test_cconv(struct thread_options *);
extern void options_default_fill(struct thread_options *o);
extern int split_parse_ddir(struct thread_options *o, struct split *split,
char *str, bool absolute, unsigned int max_splits);
extern int split_parse_ddir(struct thread_options *o, struct split *split,
char *str, bool absolute, unsigned int max_splits);