summaryrefslogtreecommitdiff
path: root/thread_options.h
diff options
context:
space:
mode:
authorVincent Fu <Vincent.Fu@sandisk.com>2016-11-22 14:06:32 -0500
committerVincent Fu <Vincent.Fu@sandisk.com>2016-12-06 14:46:18 -0500
commite6a6a9844038b1e4dd8f979c37579be695c770d0 (patch)
tree87d7921d1424b1223aef720ca7f97dfc4599cc21 /thread_options.h
parentec55e631a976779b94dc22f5ea5b229890bd5a6c (diff)
steadystate: get rid of ->ss_pct and encode this information in ->state via __FIO_SS_PCT
This leaves a 32-bit filler in thread_options_pack that can be removed when it is possible to maintain required byte alignment
Diffstat (limited to 'thread_options.h')
-rw-r--r--thread_options.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/thread_options.h b/thread_options.h
index f15ebef..e28c59d 100644
--- a/thread_options.h
+++ b/thread_options.h
@@ -170,7 +170,6 @@ struct thread_options {
unsigned long long timeout;
unsigned long long ramp_time;
unsigned int ss;
- bool ss_pct;
fio_fp64_t ss_limit;
unsigned long long ss_dur;
unsigned long long ss_ramp_time;
@@ -433,7 +432,6 @@ struct thread_options_pack {
uint64_t ss_dur;
uint64_t ss_ramp_time;
uint32_t ss;
- uint32_t ss_pct;
fio_fp64_t ss_limit;
uint32_t overwrite;
uint32_t bw_avg_time;
@@ -495,6 +493,7 @@ struct thread_options_pack {
uint64_t trim_backlog;
uint32_t clat_percentiles;
uint32_t percentile_precision;
+ uint32_t padding; /* REMOVE ME when possible to maintain alignment */
fio_fp64_t percentile_list[FIO_IO_U_LIST_MAX_LEN];
uint8_t read_iolog_file[FIO_TOP_STR_MAX];