From: Tomohiro Kusumi Date: Fri, 20 Jan 2017 17:46:42 +0000 (+0900) Subject: Change .category of cpuio to FIO_OPT_C_ENGINE X-Git-Tag: fio-2.18~48 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=cbd9148f6c1a2ffe800cd7b3d3d671a7566bc49f Change .category of cpuio to FIO_OPT_C_ENGINE This is supposed to be ENGINE instead of GENERAL. # grep "\.category" engines -rI | grep -v ENGINE engines/cpu.c: .category = FIO_OPT_C_GENERAL, engines/cpu.c: .category = FIO_OPT_C_GENERAL, engines/cpu.c: .category = FIO_OPT_C_GENERAL, Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- diff --git a/engines/cpu.c b/engines/cpu.c index 3d855e36..d0b4a895 100644 --- a/engines/cpu.c +++ b/engines/cpu.c @@ -22,7 +22,7 @@ static struct fio_option options[] = { .type = FIO_OPT_INT, .off1 = offsetof(struct cpu_options, cpuload), .help = "Use this percentage of CPU", - .category = FIO_OPT_C_GENERAL, + .category = FIO_OPT_C_ENGINE, .group = FIO_OPT_G_INVALID, }, { @@ -34,7 +34,7 @@ static struct fio_option options[] = { .def = "50000", .parent = "cpuload", .hide = 1, - .category = FIO_OPT_C_GENERAL, + .category = FIO_OPT_C_ENGINE, .group = FIO_OPT_G_INVALID, }, { @@ -44,7 +44,7 @@ static struct fio_option options[] = { .off1 = offsetof(struct cpu_options, exit_io_done), .help = "Exit when IO threads finish", .def = "0", - .category = FIO_OPT_C_GENERAL, + .category = FIO_OPT_C_ENGINE, .group = FIO_OPT_G_INVALID, }, {