projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
axmap: fix bug with max_bs/min_bs ratio being > 64
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index 1009df34936706ef433714cad12995fce8be37fc..3eb5fdc933bfd9ddc940ceab5e0ba25eb9c14b10 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-986,20
+986,6
@@
static int str_verify_pattern_cb(void *data, const char *input)
return 0;
}
return 0;
}
-static int str_lockfile_cb(void *data, const char *str)
-{
- struct thread_data *td = data;
- char *nr = get_opt_postfix(str);
-
- td->o.lockfile_batch = 1;
- if (nr) {
- td->o.lockfile_batch = atoi(nr);
- free(nr);
- }
-
- return 0;
-}
-
static int str_write_bw_log_cb(void *data, const char *str)
{
struct thread_data *td = data;
static int str_write_bw_log_cb(void *data, const char *str)
{
struct thread_data *td = data;
@@
-1157,7
+1143,6
@@
static struct fio_option options[FIO_MAX_OPTS] = {
{
.name = "lockfile",
.type = FIO_OPT_STR,
{
.name = "lockfile",
.type = FIO_OPT_STR,
- .cb = str_lockfile_cb,
.off1 = td_var_offset(file_lock_mode),
.help = "Lock file when doing IO to it",
.parent = "filename",
.off1 = td_var_offset(file_lock_mode),
.help = "Lock file when doing IO to it",
.parent = "filename",
@@
-2434,8
+2419,9
@@
static struct fio_option options[FIO_MAX_OPTS] = {
.name = "percentile_list",
.type = FIO_OPT_FLOAT_LIST,
.off1 = td_var_offset(percentile_list),
.name = "percentile_list",
.type = FIO_OPT_FLOAT_LIST,
.off1 = td_var_offset(percentile_list),
- .off2 = td_var_offset(
overwrite_plist
),
+ .off2 = td_var_offset(
percentile_precision
),
.help = "Specify a custom list of percentiles to report",
.help = "Specify a custom list of percentiles to report",
+ .def = "1:5:10:20:30:40:50:60:70:80:90:95:99:99.5:99.9:99.95:99.99",
.maxlen = FIO_IO_U_LIST_MAX_LEN,
.minfp = 0.0,
.maxfp = 100.0,
.maxlen = FIO_IO_U_LIST_MAX_LEN,
.minfp = 0.0,
.maxfp = 100.0,
@@
-2496,6
+2482,13
@@
static struct fio_option options[FIO_MAX_OPTS] = {
.help = "Set up dedicated gettimeofday() thread on this CPU",
.verify = gtod_cpu_verify,
},
.help = "Set up dedicated gettimeofday() thread on this CPU",
.verify = gtod_cpu_verify,
},
+ {
+ .name = "unified_rw_reporting",
+ .type = FIO_OPT_BOOL,
+ .off1 = td_var_offset(unified_rw_rep),
+ .help = "Unify reporting across data direction",
+ .def = "0",
+ },
{
.name = "continue_on_error",
.type = FIO_OPT_STR,
{
.name = "continue_on_error",
.type = FIO_OPT_STR,