X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=cconv.c;h=c2b27938274b57f36e240af6bff7ff86c7c3c24f;hb=211c9b8948b43ed47aedf1227e0444a58db015e4;hp=57c76e32f4d3b96fedbb3330c9d2b7cbabdae4f7;hpb=22f80458a520d0c5371c64bf91d24cdd21dff825;p=fio.git diff --git a/cconv.c b/cconv.c index 57c76e32..c2b27938 100644 --- a/cconv.c +++ b/cconv.c @@ -125,6 +125,8 @@ void convert_thread_options_to_cpu(struct thread_options *o, 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); + o->perc_rand = le32_to_cpu(top->perc_rand); + o->perc_seq = le32_to_cpu(top->perc_seq); o->hugepage_size = le32_to_cpu(top->hugepage_size); o->rw_min_bs = le32_to_cpu(top->rw_min_bs); o->thinktime = le32_to_cpu(top->thinktime); @@ -283,6 +285,8 @@ void convert_thread_options_to_net(struct thread_options_pack *top, 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); + top->perc_rand = cpu_to_le32(o->perc_rand); + top->perc_seq = cpu_to_le32(o->perc_seq); top->hugepage_size = cpu_to_le32(o->hugepage_size); top->rw_min_bs = cpu_to_le32(o->rw_min_bs); top->thinktime = cpu_to_le32(o->thinktime);