summaryrefslogtreecommitdiff
path: root/thread_options.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-11-29 21:47:43 -0700
committerJens Axboe <axboe@kernel.dk>2017-11-29 21:47:43 -0700
commitaf7d9f1f91776a42930acf1372b704f31e8677cb (patch)
treead5ac8e298aded3df4a7c0536e6aaeac4f5118e9 /thread_options.h
parentdd97d866c1b9e10b4782c1fc13df505d2f7e13ec (diff)
options: make max_latency a 64-bit variable
Also removes one pad in the thread options. This should bump the protocol version, but we just did that, so let it slide. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'thread_options.h')
-rw-r--r--thread_options.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/thread_options.h b/thread_options.h
index 050cd38..3532300 100644
--- a/thread_options.h
+++ b/thread_options.h
@@ -192,7 +192,7 @@ struct thread_options {
enum fio_memtype mem_type;
unsigned int mem_align;
- unsigned int max_latency;
+ unsigned long long max_latency;
unsigned int stonewall;
unsigned int new_group;
@@ -429,7 +429,8 @@ struct thread_options_pack {
uint32_t random_distribution;
uint32_t exitall_error;
- uint32_t pad;
+
+ uint32_t sync_file_range;
struct zone_split zone_split[DDIR_RWDIR_CNT][ZONESPLIT_MAX];
uint32_t zone_split_nr[DDIR_RWDIR_CNT];
@@ -469,8 +470,6 @@ struct thread_options_pack {
uint32_t mem_type;
uint32_t mem_align;
- uint32_t max_latency;
-
uint32_t stonewall;
uint32_t new_group;
uint32_t numjobs;
@@ -521,6 +520,7 @@ struct thread_options_pack {
uint64_t trim_backlog;
uint32_t clat_percentiles;
uint32_t percentile_precision;
+ uint32_t pad;
fio_fp64_t percentile_list[FIO_IO_U_LIST_MAX_LEN];
uint8_t read_iolog_file[FIO_TOP_STR_MAX];
@@ -581,11 +581,9 @@ struct thread_options_pack {
uint64_t offset_increment;
uint64_t number_ios;
- uint32_t sync_file_range;
- uint32_t pad2;
-
uint64_t latency_target;
uint64_t latency_window;
+ uint64_t max_latency;
fio_fp64_t latency_percentile;
uint32_t sig_figs;