summaryrefslogtreecommitdiff
path: root/cconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'cconv.c')
-rw-r--r--cconv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cconv.c b/cconv.c
index 976059cd..9c7e7185 100644
--- a/cconv.c
+++ b/cconv.c
@@ -244,6 +244,8 @@ void convert_thread_options_to_cpu(struct thread_options *o,
o->compress_percentage = le32_to_cpu(top->compress_percentage);
o->compress_chunk = le32_to_cpu(top->compress_chunk);
o->dedupe_percentage = le32_to_cpu(top->dedupe_percentage);
+ o->replay_align = le32_to_cpu(top->replay_align);
+ o->replay_scale = le32_to_cpu(top->replay_scale);
o->trim_backlog = le64_to_cpu(top->trim_backlog);
@@ -407,6 +409,8 @@ void convert_thread_options_to_net(struct thread_options_pack *top,
top->compress_percentage = cpu_to_le32(o->compress_percentage);
top->compress_chunk = cpu_to_le32(o->compress_chunk);
top->dedupe_percentage = cpu_to_le32(o->dedupe_percentage);
+ top->replay_align = cpu_to_le32(o->replay_align);
+ top->replay_scale = cpu_to_le32(o->replay_scale);
for (i = 0; i < DDIR_RWDIR_CNT; i++) {
top->bs[i] = cpu_to_le32(o->bs[i]);