From: Jens Axboe Date: Wed, 28 Mar 2012 18:52:55 +0000 (+0200) Subject: Add o->lockmem to conversion functions X-Git-Tag: gfio-0.1~21 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ae278f9a37b942132595b339389160a250a966a8;p=fio.git Add o->lockmem to conversion functions Signed-off-by: Jens Axboe --- diff --git a/cconv.c b/cconv.c index 8edfde09..d94502b4 100644 --- a/cconv.c +++ b/cconv.c @@ -136,6 +136,7 @@ void convert_thread_options_to_cpu(struct thread_options *o, o->zone_range = le64_to_cpu(top->zone_range); o->zone_size = le64_to_cpu(top->zone_size); o->zone_skip = le64_to_cpu(top->zone_skip); + o->lockmem = le64_to_cpu(top->lockmem); o->offset_increment = le64_to_cpu(top->offset_increment); o->overwrite = le32_to_cpu(top->overwrite); @@ -362,6 +363,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top, top->zone_range = __cpu_to_le64(o->zone_range); top->zone_size = __cpu_to_le64(o->zone_size); top->zone_skip = __cpu_to_le64(o->zone_skip); + top->lockmem = __cpu_to_le64(o->lockmem); top->ddir_seq_add = __cpu_to_le64(o->ddir_seq_add); top->file_size_low = __cpu_to_le64(o->file_size_low); top->file_size_high = __cpu_to_le64(o->file_size_high); diff --git a/thread_options.h b/thread_options.h index 5eb4a20c..5a296c73 100644 --- a/thread_options.h +++ b/thread_options.h @@ -311,6 +311,7 @@ struct thread_options_pack { uint64_t zone_range; uint64_t zone_size; uint64_t zone_skip; + uint64_t lockmem; uint32_t mem_type; uint32_t mem_align;