options: fix buffer overrun
[fio.git] / thread_options.h
index 7c0a31582ad44b2d097a3e442bd59c4fa241c910..0a033430103d075a6e9fda5e5fef43b84fff1c64 100644 (file)
@@ -83,6 +83,7 @@ struct thread_options {
        unsigned long long size;
        unsigned long long io_size;
        unsigned int size_percent;
+       unsigned int io_size_percent;
        unsigned int fill_device;
        unsigned int file_append;
        unsigned long long file_size_low;
@@ -165,6 +166,7 @@ struct thread_options {
        fio_fp64_t zipf_theta;
        fio_fp64_t pareto_h;
        fio_fp64_t gauss_dev;
+       fio_fp64_t random_center;
 
        unsigned int random_generator;
 
@@ -381,6 +383,7 @@ struct thread_options_pack {
        uint64_t size;
        uint64_t io_size;
        uint32_t size_percent;
+       uint32_t io_size_percent;
        uint32_t fill_device;
        uint32_t file_append;
        uint32_t unique_filename;
@@ -460,9 +463,12 @@ struct thread_options_pack {
        struct zone_split zone_split[DDIR_RWDIR_CNT][ZONESPLIT_MAX];
        uint32_t zone_split_nr[DDIR_RWDIR_CNT];
 
+       uint8_t pad1[4];
+
        fio_fp64_t zipf_theta;
        fio_fp64_t pareto_h;
        fio_fp64_t gauss_dev;
+       fio_fp64_t random_center;
 
        uint32_t random_generator;