From ae278f9a37b942132595b339389160a250a966a8 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 28 Mar 2012 20:52:55 +0200 Subject: [PATCH] Add o->lockmem to conversion functions Signed-off-by: Jens Axboe --- cconv.c | 2 ++ thread_options.h | 1 + 2 files changed, 3 insertions(+) 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; -- 2.25.1