X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=626c7c1715976c7e77c8e18327caf5d0a3639abb;hp=98187def98fbe842e90ae6d4a85a9fb3f358fd10;hb=b87aa01a1ff1e2465b4127c47e376ce7d30b2769;hpb=9a0ac6c7b69355ea095f06c6b0a08115c946dd61 diff --git a/options.c b/options.c index 98187def..626c7c17 100644 --- a/options.c +++ b/options.c @@ -1773,6 +1773,13 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .help = "Linux native asynchronous IO", }, #endif +#ifdef CONFIG_LIBAIO +#ifdef ARCH_HAVE_AIORING + { .ival = "aio-ring", + .help = "Linux native asynchronous IO", + }, +#endif +#endif #ifdef CONFIG_POSIXAIO { .ival = "posixaio", .help = "POSIX asynchronous IO", @@ -4530,7 +4537,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { { .name = "kb_base", .lname = "KB Base", - .type = FIO_OPT_INT, + .type = FIO_OPT_STR, .off1 = offsetof(struct thread_options, kb_base), .prio = 1, .def = "1024", @@ -4551,7 +4558,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { { .name = "unit_base", .lname = "Unit for quantities of data (Bits or Bytes)", - .type = FIO_OPT_INT, + .type = FIO_OPT_STR, .off1 = offsetof(struct thread_options, unit_base), .prio = 1, .posval = {