Signed-off-by: Jens Axboe <axboe@kernel.dk>
.name = "I/O Flow",
.mask = FIO_OPT_G_IO_FLOW,
},
.name = "I/O Flow",
.mask = FIO_OPT_G_IO_FLOW,
},
+ {
+ .name = "Description",
+ .mask = FIO_OPT_G_DESC,
+ },
+ {
+ .name = "Filename",
+ .mask = FIO_OPT_G_FILENAME,
+ },
+ {
+ .name = "General I/O",
+ .mask = FIO_OPT_G_IO_BASIC,
+ },
.off1 = td_var_offset(description),
.help = "Text job description",
.category = FIO_OPT_C_GENERAL,
.off1 = td_var_offset(description),
.help = "Text job description",
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_INVALID,
+ .group = FIO_OPT_G_DESC,
.off1 = td_var_offset(name),
.help = "Name of this job",
.category = FIO_OPT_C_GENERAL,
.off1 = td_var_offset(name),
.help = "Name of this job",
.category = FIO_OPT_C_GENERAL,
- .group = FIO_OPT_G_INVALID,
+ .group = FIO_OPT_G_DESC,
.prio = -1, /* must come after "directory" */
.help = "File(s) to use for the workload",
.category = FIO_OPT_C_FILE,
.prio = -1, /* must come after "directory" */
.help = "File(s) to use for the workload",
.category = FIO_OPT_C_FILE,
- .group = FIO_OPT_G_INVALID,
+ .group = FIO_OPT_G_FILENAME,
},
{
.name = "directory",
},
{
.name = "directory",
.cb = str_directory_cb,
.help = "Directory to store files in",
.category = FIO_OPT_C_FILE,
.cb = str_directory_cb,
.help = "Directory to store files in",
.category = FIO_OPT_C_FILE,
- .group = FIO_OPT_G_INVALID,
+ .group = FIO_OPT_G_FILENAME,
.hide = 0,
.def = "none",
.category = FIO_OPT_C_FILE,
.hide = 0,
.def = "none",
.category = FIO_OPT_C_FILE,
- .group = FIO_OPT_G_INVALID,
+ .group = FIO_OPT_G_FILENAME,
.posval = {
{ .ival = "none",
.oval = FILE_LOCK_NONE,
.posval = {
{ .ival = "none",
.oval = FILE_LOCK_NONE,
.cb = str_opendir_cb,
.help = "Recursively add files from this directory and down",
.category = FIO_OPT_C_FILE,
.cb = str_opendir_cb,
.help = "Recursively add files from this directory and down",
.category = FIO_OPT_C_FILE,
- .group = FIO_OPT_G_INVALID,
+ .group = FIO_OPT_G_FILENAME,
.def = "read",
.verify = rw_verify,
.category = FIO_OPT_C_IO,
.def = "read",
.verify = rw_verify,
.category = FIO_OPT_C_IO,
- .group = FIO_OPT_G_INVALID,
+ .group = FIO_OPT_G_IO_BASIC,
.posval = {
{ .ival = "read",
.oval = TD_DDIR_READ,
.posval = {
{ .ival = "read",
.oval = TD_DDIR_READ,
.help = "IO offset generator modifier",
.def = "sequential",
.category = FIO_OPT_C_IO,
.help = "IO offset generator modifier",
.def = "sequential",
.category = FIO_OPT_C_IO,
- .group = FIO_OPT_G_INVALID,
+ .group = FIO_OPT_G_IO_BASIC,
.posval = {
{ .ival = "sequential",
.oval = RW_SEQ_SEQ,
.posval = {
{ .ival = "sequential",
.oval = RW_SEQ_SEQ,
.help = "IO engine to use",
.def = FIO_PREFERRED_ENGINE,
.category = FIO_OPT_C_IO,
.help = "IO engine to use",
.def = FIO_PREFERRED_ENGINE,
.category = FIO_OPT_C_IO,
- .group = FIO_OPT_G_INVALID,
+ .group = FIO_OPT_G_IO_BASIC,
.posval = {
{ .ival = "sync",
.help = "Use read/write",
.posval = {
{ .ival = "sync",
.help = "Use read/write",
.interval = 1,
.def = "1",
.category = FIO_OPT_C_IO,
.interval = 1,
.def = "1",
.category = FIO_OPT_C_IO,
- .group = FIO_OPT_G_IO_DEPTH,
+ .group = FIO_OPT_G_IO_BASIC,
},
{
.name = "iodepth_batch",
},
{
.name = "iodepth_batch",
.interval = 1,
.def = "1",
.category = FIO_OPT_C_IO,
.interval = 1,
.def = "1",
.category = FIO_OPT_C_IO,
- .group = FIO_OPT_G_IO_DEPTH,
+ .group = FIO_OPT_G_IO_BASIC,
},
{
.name = "iodepth_batch_complete",
},
{
.name = "iodepth_batch_complete",
.interval = 1,
.def = "1",
.category = FIO_OPT_C_IO,
.interval = 1,
.def = "1",
.category = FIO_OPT_C_IO,
- .group = FIO_OPT_G_IO_DEPTH,
+ .group = FIO_OPT_G_IO_BASIC,
},
{
.name = "iodepth_low",
},
{
.name = "iodepth_low",
.hide = 1,
.interval = 1,
.category = FIO_OPT_C_IO,
.hide = 1,
.interval = 1,
.category = FIO_OPT_C_IO,
- .group = FIO_OPT_G_IO_DEPTH,
+ .group = FIO_OPT_G_IO_BASIC,
__FIO_OPT_G_IOLOG,
__FIO_OPT_G_IO_DEPTH,
__FIO_OPT_G_IO_FLOW,
__FIO_OPT_G_IOLOG,
__FIO_OPT_G_IO_DEPTH,
__FIO_OPT_G_IO_FLOW,
+ __FIO_OPT_G_DESC,
+ __FIO_OPT_G_FILENAME,
+ __FIO_OPT_G_IO_BASIC,
__FIO_OPT_G_NR,
FIO_OPT_G_RATE = (1U << __FIO_OPT_G_RATE),
__FIO_OPT_G_NR,
FIO_OPT_G_RATE = (1U << __FIO_OPT_G_RATE),
FIO_OPT_G_IOLOG = (1U << __FIO_OPT_G_IOLOG),
FIO_OPT_G_IO_DEPTH = (1U << __FIO_OPT_G_IO_DEPTH),
FIO_OPT_G_IO_FLOW = (1U << __FIO_OPT_G_IO_FLOW),
FIO_OPT_G_IOLOG = (1U << __FIO_OPT_G_IOLOG),
FIO_OPT_G_IO_DEPTH = (1U << __FIO_OPT_G_IO_DEPTH),
FIO_OPT_G_IO_FLOW = (1U << __FIO_OPT_G_IO_FLOW),
+ FIO_OPT_G_DESC = (1U << __FIO_OPT_G_DESC),
+ FIO_OPT_G_FILENAME = (1U << __FIO_OPT_G_FILENAME),
+ FIO_OPT_G_IO_BASIC = (1U << __FIO_OPT_G_IO_BASIC),
FIO_OPT_G_INVALID = (1U << __FIO_OPT_G_NR),
};
FIO_OPT_G_INVALID = (1U << __FIO_OPT_G_NR),
};