X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=cconv.c;h=ead472480b9a2aa24793802d80542e241e462b92;hb=b3251e31bae2c2ec7c8db0e7e7511eb03b8b0190;hp=c92984081b15c42c3236c7d7056da8885d6379dc;hpb=2c0b784a12172da1533dfd40b66a0e4e5609065f;p=fio.git diff --git a/cconv.c b/cconv.c index c9298408..ead47248 100644 --- a/cconv.c +++ b/cconv.c @@ -111,6 +111,7 @@ int convert_thread_options_to_cpu(struct thread_options *o, o->serialize_overlap = le32_to_cpu(top->serialize_overlap); o->size = le64_to_cpu(top->size); o->io_size = le64_to_cpu(top->io_size); + o->num_range = le32_to_cpu(top->num_range); o->size_percent = le32_to_cpu(top->size_percent); o->io_size_percent = le32_to_cpu(top->io_size_percent); o->fill_device = le32_to_cpu(top->fill_device); @@ -609,6 +610,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top, top->size = __cpu_to_le64(o->size); top->io_size = __cpu_to_le64(o->io_size); + top->num_range = __cpu_to_le32(o->num_range); top->verify_backlog = __cpu_to_le64(o->verify_backlog); top->start_delay = __cpu_to_le64(o->start_delay); top->start_delay_high = __cpu_to_le64(o->start_delay_high);