summaryrefslogtreecommitdiff
path: root/cconv.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-03-19 22:50:06 -0600
committerJens Axboe <axboe@fb.com>2015-04-15 09:50:11 -0600
commita9da8ab2169810667aeb26f857a8ac3c056e4d61 (patch)
treec1c8b47ab63318a48b080cf4c239ed7edfbccaa5 /cconv.c
parente9d512d8e7d2b3aaeb901b4cd68793b2638e200e (diff)
First cut at supporting IO offload
rate_iops=x io_submit_mode=offload Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'cconv.c')
-rw-r--r--cconv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cconv.c b/cconv.c
index 68f119f..976059c 100644
--- a/cconv.c
+++ b/cconv.c
@@ -116,6 +116,7 @@ void convert_thread_options_to_cpu(struct thread_options *o,
}
o->ratecycle = le32_to_cpu(top->ratecycle);
+ o->io_submit_mode = le32_to_cpu(top->io_submit_mode);
o->nr_files = le32_to_cpu(top->nr_files);
o->open_files = le32_to_cpu(top->open_files);
o->file_lock_mode = le32_to_cpu(top->file_lock_mode);
@@ -295,6 +296,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top,
top->fill_device = cpu_to_le32(o->fill_device);
top->file_append = cpu_to_le32(o->file_append);
top->ratecycle = cpu_to_le32(o->ratecycle);
+ top->io_submit_mode = cpu_to_le32(o->io_submit_mode);
top->nr_files = cpu_to_le32(o->nr_files);
top->open_files = cpu_to_le32(o->open_files);
top->file_lock_mode = cpu_to_le32(o->file_lock_mode);