Fix wrong index bug
[fio.git] / thread_options.h
index 5a2428a41bb4c6b48971130d678e911de02c1e95..026b85b444587372656371475b5b231cd19123ac 100644 (file)
@@ -129,6 +129,7 @@ struct thread_options {
 
        fio_fp64_t zipf_theta;
        fio_fp64_t pareto_h;
+       fio_fp64_t gauss_dev;
 
        unsigned int random_generator;
 
@@ -260,6 +261,9 @@ struct thread_options {
        unsigned long long latency_target;
        unsigned long long latency_window;
        fio_fp64_t latency_percentile;
+
+       unsigned block_error_hist;
+       unsigned int skip_bad;
 };
 
 #define FIO_TOP_STR_MAX                256
@@ -355,8 +359,10 @@ struct thread_options_pack {
 
        uint32_t random_distribution;
        uint32_t pad;
+
        fio_fp64_t zipf_theta;
        fio_fp64_t pareto_h;
+       fio_fp64_t gauss_dev;
 
        uint32_t random_generator;
 
@@ -485,6 +491,9 @@ struct thread_options_pack {
        uint64_t latency_window;
        uint32_t pad3;
        fio_fp64_t latency_percentile;
+
+       uint32_t block_error_hist;
+       uint32_t skip_bad;
 } __attribute__((packed));
 
 extern void convert_thread_options_to_cpu(struct thread_options *o, struct thread_options_pack *top);