options: more option grouping
[fio.git] / thread_options.h
index c0fd7e26fed0bfb92cf6ee67b50a4de0293ae0f3..51ac0908a2c3c1dccaebd549cd74c593b3fe2aa6 100644 (file)
@@ -218,6 +218,8 @@ struct thread_options {
        int flow_watermark;
        unsigned int flow_sleep;
 
+       unsigned long long offset_increment;
+
        unsigned int sync_file_range;
 };
 
@@ -405,11 +407,14 @@ struct thread_options_pack {
        int32_t flow_watermark;
        uint32_t flow_sleep;
 
+       uint64_t offset_increment;
+
        uint32_t sync_file_range;
 } __attribute__((packed));
 
 extern void convert_thread_options_to_cpu(struct thread_options *o, struct thread_options_pack *top);
 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);
 
 #endif