projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
log: add support for logging max instead of averages
[fio.git]
/
thread_options.h
diff --git
a/thread_options.h
b/thread_options.h
index f9c156207795c643a874b129e85f36df9e376030..384534add7378d88e840c12c2c0a2522e84d562c 100644
(file)
--- a/
thread_options.h
+++ b/
thread_options.h
@@
-40,6
+40,7
@@
struct thread_options {
uint64_t set_options[NR_OPTS_SZ];
char *description;
char *name;
uint64_t set_options[NR_OPTS_SZ];
char *description;
char *name;
+ char *wait_for;
char *directory;
char *filename;
char *filename_format;
char *directory;
char *filename;
char *filename_format;
@@
-119,6
+120,7
@@
struct thread_options {
unsigned long long rand_seed;
unsigned int dep_use_os_rand;
unsigned int log_avg_msec;
unsigned long long rand_seed;
unsigned int dep_use_os_rand;
unsigned int log_avg_msec;
+ unsigned int log_max;
unsigned int log_offset;
unsigned int log_gz;
unsigned int log_gz_store;
unsigned int log_offset;
unsigned int log_gz;
unsigned int log_gz_store;
@@
-131,6
+133,7
@@
struct thread_options {
unsigned int verify_only;
unsigned int random_distribution;
unsigned int verify_only;
unsigned int random_distribution;
+ unsigned int exitall_error;
fio_fp64_t zipf_theta;
fio_fp64_t pareto_h;
fio_fp64_t zipf_theta;
fio_fp64_t pareto_h;
@@
-288,6
+291,7
@@
struct thread_options_pack {
uint64_t set_options[NR_OPTS_SZ];
uint8_t description[FIO_TOP_STR_MAX];
uint8_t name[FIO_TOP_STR_MAX];
uint64_t set_options[NR_OPTS_SZ];
uint8_t description[FIO_TOP_STR_MAX];
uint8_t name[FIO_TOP_STR_MAX];
+ uint8_t wait_for[FIO_TOP_STR_MAX];
uint8_t directory[FIO_TOP_STR_MAX];
uint8_t filename[FIO_TOP_STR_MAX];
uint8_t filename_format[FIO_TOP_STR_MAX];
uint8_t directory[FIO_TOP_STR_MAX];
uint8_t filename[FIO_TOP_STR_MAX];
uint8_t filename_format[FIO_TOP_STR_MAX];
@@
-366,6
+370,7
@@
struct thread_options_pack {
uint64_t rand_seed;
uint32_t dep_use_os_rand;
uint32_t log_avg_msec;
uint64_t rand_seed;
uint32_t dep_use_os_rand;
uint32_t log_avg_msec;
+ uint32_t log_max;
uint32_t log_offset;
uint32_t log_gz;
uint32_t log_gz_store;
uint32_t log_offset;
uint32_t log_gz;
uint32_t log_gz_store;
@@
-376,7
+381,8
@@
struct thread_options_pack {
uint32_t bs_is_seq_rand;
uint32_t random_distribution;
uint32_t bs_is_seq_rand;
uint32_t random_distribution;
- uint32_t pad;
+ uint32_t exitall_error;
+ uint32_t pad0;
fio_fp64_t zipf_theta;
fio_fp64_t pareto_h;
fio_fp64_t zipf_theta;
fio_fp64_t pareto_h;
@@
-394,6
+400,7
@@
struct thread_options_pack {
uint32_t fsync_blocks;
uint32_t fdatasync_blocks;
uint32_t barrier_blocks;
uint32_t fsync_blocks;
uint32_t fdatasync_blocks;
uint32_t barrier_blocks;
+ uint32_t pad1;
uint64_t start_delay;
uint64_t start_delay_high;
uint64_t timeout;
uint64_t start_delay;
uint64_t start_delay_high;
uint64_t timeout;
@@
-414,9
+421,14
@@
struct thread_options_pack {
uint32_t stonewall;
uint32_t new_group;
uint32_t numjobs;
uint32_t stonewall;
uint32_t new_group;
uint32_t numjobs;
+ /*
+ * We currently can't convert these, so don't enable them
+ */
+#if 0
uint8_t cpumask[FIO_TOP_STR_MAX];
uint8_t verify_cpumask[FIO_TOP_STR_MAX];
uint8_t log_gz_cpumask[FIO_TOP_STR_MAX];
uint8_t cpumask[FIO_TOP_STR_MAX];
uint8_t verify_cpumask[FIO_TOP_STR_MAX];
uint8_t log_gz_cpumask[FIO_TOP_STR_MAX];
+#endif
uint32_t cpus_allowed_policy;
uint32_t iolog;
uint32_t rwmixcycle;
uint32_t cpus_allowed_policy;
uint32_t iolog;
uint32_t rwmixcycle;
@@
-453,6
+465,7
@@
struct thread_options_pack {
uint64_t trim_backlog;
uint32_t clat_percentiles;
uint32_t percentile_precision;
uint64_t trim_backlog;
uint32_t clat_percentiles;
uint32_t percentile_precision;
+ uint32_t pad2;
fio_fp64_t percentile_list[FIO_IO_U_LIST_MAX_LEN];
uint8_t read_iolog_file[FIO_TOP_STR_MAX];
fio_fp64_t percentile_list[FIO_IO_U_LIST_MAX_LEN];
uint8_t read_iolog_file[FIO_TOP_STR_MAX];
@@
-475,7
+488,6
@@
struct thread_options_pack {
uint32_t rate_iops[DDIR_RWDIR_CNT];
uint32_t rate_iops_min[DDIR_RWDIR_CNT];
uint32_t rate_process;
uint32_t rate_iops[DDIR_RWDIR_CNT];
uint32_t rate_iops_min[DDIR_RWDIR_CNT];
uint32_t rate_process;
- uint32_t padding_0; /* for alignment assert */
uint8_t ioscheduler[FIO_TOP_STR_MAX];
uint8_t ioscheduler[FIO_TOP_STR_MAX];
@@
-508,6
+520,7
@@
struct thread_options_pack {
uint64_t number_ios;
uint32_t sync_file_range;
uint64_t number_ios;
uint32_t sync_file_range;
+ uint32_t pad3;
uint64_t latency_target;
uint64_t latency_window;
uint64_t latency_target;
uint64_t latency_window;