projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
options: more option grouping
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index b72d690fed07b7e3de1884293a33ee7938afc5a0..1b0117ef182955e41afa59c04236d313fe7fcac4 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-950,6
+950,18
@@
static struct opt_group fio_opt_cat_groups[] = {
.name = "Runtime",
.mask = FIO_OPT_G_RUNTIME,
},
.name = "Runtime",
.mask = FIO_OPT_G_RUNTIME,
},
+ {
+ .name = "Process",
+ .mask = FIO_OPT_G_PROCESS,
+ },
+ {
+ .name = "Job credentials / priority",
+ .mask = FIO_OPT_G_CRED,
+ },
+ {
+ .name = "Clock settings",
+ .mask = FIO_OPT_G_CLOCK,
+ },
{
.name = NULL,
}
{
.name = NULL,
}
@@
-1677,7
+1689,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.off1 = td_var_offset(clocksource),
.help = "What type of timing source to use",
.category = FIO_OPT_C_GENERAL,
.off1 = td_var_offset(clocksource),
.help = "What type of timing source to use",
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_
INVALID
,
+ .group = FIO_OPT_G_
CLOCK
,
.posval = {
{ .ival = "gettimeofday",
.oval = CS_GTOD,
.posval = {
{ .ival = "gettimeofday",
.oval = CS_GTOD,
@@
-2155,7
+2167,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.def = "0",
.interval = 1,
.category = FIO_OPT_C_GENERAL,
.def = "0",
.interval = 1,
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_
INVALI
D,
+ .group = FIO_OPT_G_
CRE
D,
},
#ifdef FIO_HAVE_IOPRIO
{
},
#ifdef FIO_HAVE_IOPRIO
{
@@
-2168,7
+2180,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.maxval = 7,
.interval = 1,
.category = FIO_OPT_C_GENERAL,
.maxval = 7,
.interval = 1,
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_
INVALI
D,
+ .group = FIO_OPT_G_
CRE
D,
},
{
.name = "prioclass",
},
{
.name = "prioclass",
@@
-2180,7
+2192,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.maxval = 3,
.interval = 1,
.category = FIO_OPT_C_GENERAL,
.maxval = 3,
.interval = 1,
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_
INVALI
D,
+ .group = FIO_OPT_G_
CRE
D,
},
#endif
{
},
#endif
{
@@
-2392,7
+2404,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.cb = str_cpumask_cb,
.help = "CPU affinity mask",
.category = FIO_OPT_C_GENERAL,
.cb = str_cpumask_cb,
.help = "CPU affinity mask",
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_
INVALI
D,
+ .group = FIO_OPT_G_
CRE
D,
},
{
.name = "cpus_allowed",
},
{
.name = "cpus_allowed",
@@
-2401,7
+2413,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.cb = str_cpus_allowed_cb,
.help = "Set CPUs allowed",
.category = FIO_OPT_C_GENERAL,
.cb = str_cpus_allowed_cb,
.help = "Set CPUs allowed",
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_
INVALI
D,
+ .group = FIO_OPT_G_
CRE
D,
},
#endif
{
},
#endif
{
@@
-2529,7
+2541,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.off1 = td_var_offset(group_reporting),
.help = "Do reporting on a per-group basis",
.def = "1",
.off1 = td_var_offset(group_reporting),
.help = "Do reporting on a per-group basis",
.def = "1",
- .category = FIO_OPT_C_
GENERAL
,
+ .category = FIO_OPT_C_
STAT
,
.group = FIO_OPT_G_INVALID,
},
{
.group = FIO_OPT_G_INVALID,
},
{
@@
-2686,7
+2698,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.help = "Set up dedicated gettimeofday() thread on this CPU",
.verify = gtod_cpu_verify,
.category = FIO_OPT_C_GENERAL,
.help = "Set up dedicated gettimeofday() thread on this CPU",
.verify = gtod_cpu_verify,
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_
INVALID
,
+ .group = FIO_OPT_G_
CLOCK
,
},
{
.name = "continue_on_error",
},
{
.name = "continue_on_error",
@@
-2780,7
+2792,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.off1 = td_var_offset(uid),
.help = "Run job with this user ID",
.category = FIO_OPT_C_GENERAL,
.off1 = td_var_offset(uid),
.help = "Run job with this user ID",
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_
INVALI
D,
+ .group = FIO_OPT_G_
CRE
D,
},
{
.name = "gid",
},
{
.name = "gid",
@@
-2789,7
+2801,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.off1 = td_var_offset(gid),
.help = "Run job with this group ID",
.category = FIO_OPT_C_GENERAL,
.off1 = td_var_offset(gid),
.help = "Run job with this group ID",
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_
INVALI
D,
+ .group = FIO_OPT_G_
CRE
D,
},
{
.name = "kb_base",
},
{
.name = "kb_base",