X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=a7225eab37c38b37408d1b74b5ec80adb8d7361f;hp=3c37e9105698cbabb0f46d66816de93762d8cd3e;hb=f66ab3c819a8bd9eba6e8285d12443e0427e9561;hpb=3c48c2c1c702047f8a92fa21fdd1471781b9dab4 diff --git a/options.c b/options.c index 3c37e910..a7225eab 100644 --- a/options.c +++ b/options.c @@ -12,7 +12,7 @@ #include "fio.h" #include "parse.h" -#include "fls.h" +#include "lib/fls.h" #define td_var_offset(var) ((size_t) &((struct thread_options *)0)->var) @@ -612,6 +612,7 @@ static struct fio_option options[] = { }, { .name = "iodepth_batch", + .alias = "iodepth_batch_submit", .type = FIO_OPT_INT, .off1 = td_var_offset(iodepth_batch), .help = "Number of IO to submit in one go", @@ -619,6 +620,15 @@ static struct fio_option options[] = { .minval = 1, .def = "1", }, + { + .name = "iodepth_batch_complete", + .type = FIO_OPT_INT, + .off1 = td_var_offset(iodepth_batch_complete), + .help = "Number of IO to retrieve in one go", + .parent = "iodepth", + .minval = 0, + .def = "1", + }, { .name = "iodepth_low", .type = FIO_OPT_INT, @@ -713,7 +723,7 @@ static struct fio_option options[] = { .name = "softrandommap", .type = FIO_OPT_BOOL, .off1 = td_var_offset(softrandommap), - .help = "Allow randommap to fail and continue witout", + .help = "Set norandommap if randommap allocation fails", .parent = "norandommap", .def = "0", }, @@ -1261,7 +1271,7 @@ static struct fio_option options[] = { .name = "disk_util", .type = FIO_OPT_BOOL, .off1 = td_var_offset(do_disk_util), - .help = "Log disk utilization stats", + .help = "Log disk utilization statistics", .def = "1", }, #endif