options: more option grouping
[fio.git] / thread_options.h
index 1193abeb9f48065ccae7e0cabde6f30dae41de4a..51ac0908a2c3c1dccaebd549cd74c593b3fe2aa6 100644 (file)
@@ -146,6 +146,8 @@ struct thread_options {
        unsigned int zero_buffers;
        unsigned int refill_buffers;
        unsigned int scramble_buffers;
+       unsigned int compress_percentage;
+       unsigned int compress_chunk;
        unsigned int time_based;
        unsigned int disable_lat;
        unsigned int disable_clat;
@@ -216,6 +218,8 @@ struct thread_options {
        int flow_watermark;
        unsigned int flow_sleep;
 
+       unsigned long long offset_increment;
+
        unsigned int sync_file_range;
 };
 
@@ -331,6 +335,8 @@ struct thread_options_pack {
        uint32_t zero_buffers;
        uint32_t refill_buffers;
        uint32_t scramble_buffers;
+       unsigned int compress_percentage;
+       unsigned int compress_chunk;
        uint32_t time_based;
        uint32_t disable_lat;
        uint32_t disable_clat;
@@ -401,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