X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=cconv.c;fp=cconv.c;h=449bcf7b1678bdd6443aafd760970c7f8d503795;hp=48218dc4adf86e29f410d91e34f75bea4ef4b2b3;hb=e1bcd541f63f9029f6c50116831303ad06292edc;hpb=e1ce5b385c65803b170e512a1b5256bbe99f98f0 diff --git a/cconv.c b/cconv.c index 48218dc4..449bcf7b 100644 --- a/cconv.c +++ b/cconv.c @@ -288,6 +288,7 @@ void convert_thread_options_to_cpu(struct thread_options *o, o->latency_window = le64_to_cpu(top->latency_window); o->max_latency = le64_to_cpu(top->max_latency); o->latency_percentile.u.f = fio_uint64_to_double(le64_to_cpu(top->latency_percentile.u.i)); + o->latency_run = le32_to_cpu(top->latency_run); o->compress_percentage = le32_to_cpu(top->compress_percentage); o->compress_chunk = le32_to_cpu(top->compress_chunk); o->dedupe_percentage = le32_to_cpu(top->dedupe_percentage); @@ -487,6 +488,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top, top->latency_window = __cpu_to_le64(o->latency_window); top->max_latency = __cpu_to_le64(o->max_latency); top->latency_percentile.u.i = __cpu_to_le64(fio_double_to_uint64(o->latency_percentile.u.f)); + top->latency_run = __cpu_to_le32(o->latency_run); top->compress_percentage = cpu_to_le32(o->compress_percentage); top->compress_chunk = cpu_to_le32(o->compress_chunk); top->dedupe_percentage = cpu_to_le32(o->dedupe_percentage);