From ee6ce26c029dbdb62184d2f011fdab61d3429d82 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 8 Oct 2018 13:43:23 -0600 Subject: [PATCH] options: kill 'use_os_rand' It's been deprecated for a very long time, it's time to just kill it off. Signed-off-by: Jens Axboe --- options.c | 8 -------- thread_options.h | 6 ++---- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/options.c b/options.c index 66fb5806..98187def 100644 --- a/options.c +++ b/options.c @@ -2202,14 +2202,6 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .category = FIO_OPT_C_IO, .group = FIO_OPT_G_RANDOM, }, - { - .name = "use_os_rand", - .lname = "Use OS random", - .type = FIO_OPT_DEPRECATED, - .off1 = offsetof(struct thread_options, dep_use_os_rand), - .category = FIO_OPT_C_IO, - .group = FIO_OPT_G_RANDOM, - }, { .name = "norandommap", .lname = "No randommap", diff --git a/thread_options.h b/thread_options.h index 4f791cf3..14c6969f 100644 --- a/thread_options.h +++ b/thread_options.h @@ -140,7 +140,6 @@ struct thread_options { unsigned int rand_repeatable; unsigned int allrand_repeatable; unsigned long long rand_seed; - unsigned int dep_use_os_rand; unsigned int log_avg_msec; unsigned int log_hist_msec; unsigned int log_hist_coarseness; @@ -173,7 +172,6 @@ struct thread_options { unsigned int hugepage_size; unsigned long long rw_min_bs; - unsigned int pad2; unsigned int thinktime; unsigned int thinktime_spin; unsigned int thinktime_blocks; @@ -430,8 +428,8 @@ struct thread_options_pack { uint32_t override_sync; uint32_t rand_repeatable; uint32_t allrand_repeatable; + uint32_t pad; uint64_t rand_seed; - uint32_t dep_use_os_rand; uint32_t log_avg_msec; uint32_t log_hist_msec; uint32_t log_hist_coarseness; @@ -572,7 +570,7 @@ struct thread_options_pack { uint32_t rate_iops_min[DDIR_RWDIR_CNT]; uint32_t rate_process; uint32_t rate_ign_think; - uint32_t pad; + uint32_t pad3; uint8_t ioscheduler[FIO_TOP_STR_MAX]; -- 2.25.1