Add categories for missing options
authorJens Axboe <axboe@kernel.dk>
Fri, 16 Mar 2012 18:08:39 +0000 (19:08 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Mar 2012 18:08:39 +0000 (19:08 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
options.c
profiles/tiobench.c

index 18d2f20ded599c9327f105f24258c0280cf9fd05..3caaa4f2d254129cba2745db3ccdb27e85b2a28b 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1239,6 +1239,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                .help   = "What is the increment from one offset to the next",
                .parent = "offset",
                .def    = "0",
+               .category = FIO_OPT_G_IO,
        },
        {
                .name   = "bs",
@@ -2241,6 +2242,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                .maxval = 100,
                .minval = 1,
                .help   = "How compressible the buffer is (approximately)",
+               .category = FIO_OPT_G_IO_BUF,
        },
        {
                .name   = "buffer_compress_chunk",
@@ -2248,6 +2250,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                .off1   = td_var_offset(compress_chunk),
                .parent = "buffer_compress_percentage",
                .help   = "Size of compressible region in buffer",
+               .category = FIO_OPT_G_IO_BUF,
        },
        {
                .name   = "clat_percentiles",
index f86a33787d9ca4e5f25fe2d096089c04b902154d..517d9377b8083dedda0780c015bfe0d2edfb2a54 100644 (file)
@@ -26,6 +26,7 @@ static struct fio_option options[] = {
                .type   = FIO_OPT_STR_VAL,
                .roff1  = &size,
                .help   = "Size in MB",
+               .category = FIO_OPT_G_IO,
        },
        {
                .name   = "block",
@@ -33,24 +34,28 @@ static struct fio_option options[] = {
                .roff1  = &bs,
                .help   = "Block size in bytes",
                .def    = "4k",
+               .category = FIO_OPT_G_IO,
        },
        {
                .name   = "numruns",
                .type   = FIO_OPT_INT,
                .roff1  = &loops,
                .help   = "Number of runs",
+               .category = FIO_OPT_G_JOB,
        },
        {
                .name   = "dir",
                .type   = FIO_OPT_STR_STORE,
                .roff1  = &dir,
                .help   = "Test directory",
+               .category = FIO_OPT_G_FILE,
        },
        {
                .name   = "threads",
                .type   = FIO_OPT_INT,
                .roff1  = &nthreads,
                .help   = "Number of Threads",
+               .category = FIO_OPT_G_JOB,
        },
        {
                .name   = NULL,