Fix wrong index bug
[fio.git] / thread_options.h
index ee1114d1f8ee234e662f1e96944f9ee2e00f46af..026b85b444587372656371475b5b231cd19123ac 100644 (file)
@@ -261,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
@@ -488,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);