X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=9508607438a5149df800322f6c081ea6348d39bc;hp=81fe9ffb750ff421d97e9f8a67d597e79222a111;hb=59097e775dce8ccf3127963972ca61c6ce2a3141;hpb=52885fa281233fc5889b2468bd52cb0cbbac5d3c diff --git a/options.c b/options.c index 81fe9ffb..95086074 100644 --- a/options.c +++ b/options.c @@ -493,6 +493,9 @@ int fio_cpus_split(os_cpu_mask_t *mask, unsigned int cpu_index) const long max_cpu = cpus_online(); cpus_in_mask = fio_cpu_count(mask); + if (!cpus_in_mask) + return 0; + cpu_index = cpu_index % cpus_in_mask; index = 0; @@ -1773,9 +1776,9 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .help = "Linux native asynchronous IO", }, #endif -#ifdef CONFIG_LIBAIO - { .ival = "aio-ring", - .help = "Linux native asynchronous IO", +#ifdef ARCH_HAVE_IOURING + { .ival = "io_uring", + .help = "Fast Linux native aio", }, #endif #ifdef CONFIG_POSIXAIO