path: root/thread_options.h
diff options
authorGrant Grundler <>2014-01-28 15:11:23 -0700
committerJens Axboe <>2014-01-28 15:11:23 -0700
commit363cffa71a96eb4c7595bb8c325a09eb01f766a5 (patch)
treec5dd86fb62eef46e47c09e9dde58159db166d1df /thread_options.h
parent9aa5fe3290fd49c70e498d5e072a5b27e1c3034f (diff)
fio: consolidate rand_seed to uint64_t
csscope showed rand_seed was defined 4 times - each a different type. While they are used differently, the places where they overlap should reference the same type. This patch makes three of them the same as suggested by Jens Axboe. Signed-off-by: Grant Grundler <> Updated by me to change rand_seed option to unsigned long long and changes related to that. Signed-off-by: Jens Axboe <>
Diffstat (limited to 'thread_options.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_options.h b/thread_options.h
index 2f807cd7..79c3a892 100644
--- a/thread_options.h
+++ b/thread_options.h
@@ -100,7 +100,7 @@ struct thread_options {
unsigned int do_disk_util;
unsigned int override_sync;
unsigned int rand_repeatable;
- unsigned int rand_seed;
+ unsigned long long rand_seed;
unsigned int use_os_rand;
unsigned int log_avg_msec;
unsigned int norandommap;
@@ -324,7 +324,7 @@ struct thread_options_pack {
uint32_t do_disk_util;
uint32_t override_sync;
uint32_t rand_repeatable;
- uint32_t rand_seed;
+ uint64_t rand_seed;
uint32_t use_os_rand;
uint32_t log_avg_msec;
uint32_t norandommap;