X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=cconv.c;h=92996b1e430b744b4525d4e9390e528c496ac566;hp=5ed464065a0ed940e9c4c8298978802ea493047a;hb=1a9bf8146d9842d268bcb01f4286325a8cfccc21;hpb=67bfebe6af2e6d030ec739fa45ccb211f3e50a0e;ds=sidebyside diff --git a/cconv.c b/cconv.c index 5ed46406..92996b1e 100644 --- a/cconv.c +++ b/cconv.c @@ -298,6 +298,7 @@ void convert_thread_options_to_cpu(struct thread_options *o, o->trim_backlog = le64_to_cpu(top->trim_backlog); o->rate_process = le32_to_cpu(top->rate_process); + o->rate_ign_think = le32_to_cpu(top->rate_ign_think); for (i = 0; i < FIO_IO_U_LIST_MAX_LEN; i++) o->percentile_list[i].u.f = fio_uint64_to_double(le64_to_cpu(top->percentile_list[i].u.i)); @@ -557,6 +558,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top, top->offset_increment = __cpu_to_le64(o->offset_increment); top->number_ios = __cpu_to_le64(o->number_ios); top->rate_process = cpu_to_le32(o->rate_process); + top->rate_ign_think = cpu_to_le32(o->rate_ign_think); for (i = 0; i < FIO_IO_U_LIST_MAX_LEN; i++) top->percentile_list[i].u.i = __cpu_to_le64(fio_double_to_uint64(o->percentile_list[i].u.f));