From 767a0a6603d5611a2319b4d1d84ecd78100c734f Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 16 Mar 2012 19:08:39 +0100 Subject: [PATCH] Add categories for missing options Signed-off-by: Jens Axboe --- options.c | 3 +++ profiles/tiobench.c | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/options.c b/options.c index 18d2f20d..3caaa4f2 100644 --- 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", diff --git a/profiles/tiobench.c b/profiles/tiobench.c index f86a3378..517d9377 100644 --- a/profiles/tiobench.c +++ b/profiles/tiobench.c @@ -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, -- 2.25.1