.help = "Accept potential duplicate random blocks",
.parent = "rw",
.hide = 1,
+ .hide_on_set = 1,
.category = FIO_OPT_C_IO,
.group = FIO_OPT_G_RANDOM,
},
.category = FIO_OPT_C_IO,
.group = FIO_OPT_G_IO_TYPE,
},
- {
- .name = "bwavgtime",
- .lname = "Bandwidth average time",
- .type = FIO_OPT_INT,
- .off1 = td_var_offset(bw_avg_time),
- .help = "Time window over which to calculate bandwidth"
- " (msec)",
- .def = "500",
- .parent = "write_bw_log",
- .hide = 1,
- .interval = 100,
- .category = FIO_OPT_C_LOG,
- .group = FIO_OPT_G_INVALID,
- },
- {
- .name = "iopsavgtime",
- .lname = "IOPS average time",
- .type = FIO_OPT_INT,
- .off1 = td_var_offset(iops_avg_time),
- .help = "Time window over which to calculate IOPS (msec)",
- .def = "500",
- .parent = "write_iops_log",
- .hide = 1,
- .interval = 100,
- .category = FIO_OPT_C_LOG,
- .group = FIO_OPT_G_INVALID,
- },
{
.name = "create_serialize",
.lname = "Create serialize",
.category = FIO_OPT_C_LOG,
.group = FIO_OPT_G_INVALID,
},
+ {
+ .name = "bwavgtime",
+ .lname = "Bandwidth average time",
+ .type = FIO_OPT_INT,
+ .off1 = td_var_offset(bw_avg_time),
+ .help = "Time window over which to calculate bandwidth"
+ " (msec)",
+ .def = "500",
+ .parent = "write_bw_log",
+ .hide = 1,
+ .interval = 100,
+ .category = FIO_OPT_C_LOG,
+ .group = FIO_OPT_G_INVALID,
+ },
+ {
+ .name = "iopsavgtime",
+ .lname = "IOPS average time",
+ .type = FIO_OPT_INT,
+ .off1 = td_var_offset(iops_avg_time),
+ .help = "Time window over which to calculate IOPS (msec)",
+ .def = "500",
+ .parent = "write_iops_log",
+ .hide = 1,
+ .interval = 100,
+ .category = FIO_OPT_C_LOG,
+ .group = FIO_OPT_G_INVALID,
+ },
{
.name = "group_reporting",
.lname = "Group reporting",
td->eo = NULL;
}
}
+
+struct fio_option *fio_option_find(const char *name)
+{
+ return find_option(fio_options, name);
+}
+