X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=cconv.c;h=fbe784e7e2ff281001dc30ba416f65845a6bebf5;hp=0fca764e97865b8e4bd9fbaf869a6d9c489c71ec;hb=56d9fa4b8d4fa5166e3ec5dcdd37b5789b2cb01d;hpb=79c896a122a7a39b840257215e622bdeff8272f1 diff --git a/cconv.c b/cconv.c index 0fca764e..fbe784e7 100644 --- a/cconv.c +++ b/cconv.c @@ -163,6 +163,7 @@ void convert_thread_options_to_cpu(struct thread_options *o, o->fsync_on_close = le32_to_cpu(top->fsync_on_close); o->bs_is_seq_rand = le32_to_cpu(top->bs_is_seq_rand); o->random_distribution = le32_to_cpu(top->random_distribution); + o->gauss_dev = le32_to_cpu(top->gauss_dev); o->zipf_theta.u.f = fio_uint64_to_double(le64_to_cpu(top->zipf_theta.u.i)); o->pareto_h.u.f = fio_uint64_to_double(le64_to_cpu(top->pareto_h.u.i)); o->random_generator = le32_to_cpu(top->random_generator); @@ -337,6 +338,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top, top->fsync_on_close = cpu_to_le32(o->fsync_on_close); top->bs_is_seq_rand = cpu_to_le32(o->bs_is_seq_rand); top->random_distribution = cpu_to_le32(o->random_distribution); + top->gauss_dev = cpu_to_le32(o->gauss_dev); top->zipf_theta.u.i = __cpu_to_le64(fio_double_to_uint64(o->zipf_theta.u.f)); top->pareto_h.u.i = __cpu_to_le64(fio_double_to_uint64(o->pareto_h.u.f)); top->random_generator = cpu_to_le32(o->random_generator);