summaryrefslogtreecommitdiff
path: root/cconv.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-11-09 16:37:33 -0700
committerJens Axboe <axboe@fb.com>2015-11-09 16:37:33 -0700
commit6de659592dbebd641b262f18401c90f05db29fa1 (patch)
tree42d63ddcfb56398fdcb83719169e2662cdee0294 /cconv.c
parent6d428bcd303e466403cebdedf20a5cf84f6949cd (diff)
Rename rate_poisson to rate_process
This will more accurately follow what other options could adopt, for instance if we want to do a dynamic IO depth. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'cconv.c')
-rw-r--r--cconv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cconv.c b/cconv.c
index 26b90b9..c309578 100644
--- a/cconv.c
+++ b/cconv.c
@@ -254,7 +254,7 @@ void convert_thread_options_to_cpu(struct thread_options *o,
o->per_job_logs = le32_to_cpu(top->per_job_logs);
o->trim_backlog = le64_to_cpu(top->trim_backlog);
- o->poisson_rate = le32_to_cpu(top->poisson_rate);
+ o->rate_process = le32_to_cpu(top->rate_process);
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));
@@ -475,7 +475,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top,
top->trim_backlog = __cpu_to_le64(o->trim_backlog);
top->offset_increment = __cpu_to_le64(o->offset_increment);
top->number_ios = __cpu_to_le64(o->number_ios);
- top->poisson_rate = cpu_to_le32(o->poisson_rate);
+ top->rate_process = cpu_to_le32(o->rate_process);
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));