X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Flibaio.c;h=748233c268e1dad4a106c00c4c1497ad62010c0f;hb=de26d51f3e909997c9a500bf9f15a1bd5c18bb49;hp=ad7903cf5f1d36bdc9dfd4585e864c172ba87726;hpb=c90e1017b9384b170d47b97d2353f7bff3b5a34d;p=fio.git diff --git a/engines/libaio.c b/engines/libaio.c index ad7903cf..748233c2 100644 --- a/engines/libaio.c +++ b/engines/libaio.c @@ -32,9 +32,11 @@ struct libaio_options { static struct fio_option options[] = { { .name = "userspace_reap", + .lname = "Libaio userspace reaping", .type = FIO_OPT_STR_SET, .off1 = offsetof(struct libaio_options, userspace_reap), .help = "Use alternative user-space reap implementation", + .category = FIO_OPT_C_IO, }, { .name = NULL, @@ -266,7 +268,7 @@ static int fio_libaio_init(struct thread_data *td) * and we need the right depth. */ if (!o->userspace_reap) - err = io_queue_init(0, &ld->aio_ctx); + err = io_queue_init(INT_MAX, &ld->aio_ctx); if (o->userspace_reap || err == -EINVAL) err = io_queue_init(td->o.iodepth, &ld->aio_ctx); if (err) {