From: Jens Axboe Date: Wed, 6 May 2015 20:20:44 +0000 (-0600) Subject: cconv: add missing conversions of block_error_hist and skip_bad X-Git-Tag: fio-2.2.8~12 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d77d8152a28b006a0cf12f9741f0a159422a5118;hp=0c63576e14bc606f81441f20e58a5b6338a5e2d6 cconv: add missing conversions of block_error_hist and skip_bad Signed-off-by: Jens Axboe --- diff --git a/cconv.c b/cconv.c index 9c7e7185..1e095afd 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->skip_bad = le32_to_cpu(top->skip_bad); + o->block_error_hist = le32_to_cpu(top->block_error_hist); o->replay_align = le32_to_cpu(top->replay_align); o->replay_scale = le32_to_cpu(top->replay_scale); @@ -409,6 +411,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->block_error_hist = cpu_to_le32(o->block_error_hist); + top->skip_bad = cpu_to_le32(o->skip_bad); top->replay_align = cpu_to_le32(o->replay_align); top->replay_scale = cpu_to_le32(o->replay_scale);