X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Flibrpma_fio.c;h=3d605ed6c3721dcb5866d3bbe6b4754a3cb9e3dd;hp=810b55e23d522d920492bbeaf282667b4a49d317;hb=6a2299789dccdd24351744476586e7d562a3940d;hpb=5592e99219864e21b425cfc66fa05ece5b514259 diff --git a/engines/librpma_fio.c b/engines/librpma_fio.c index 810b55e2..3d605ed6 100644 --- a/engines/librpma_fio.c +++ b/engines/librpma_fio.c @@ -49,6 +49,17 @@ struct fio_option librpma_fio_options[] = { .category = FIO_OPT_C_ENGINE, .group = FIO_OPT_G_LIBRPMA, }, + { + .name = "busy_wait_polling", + .lname = "Set to 0 to wait for completion instead of busy-wait polling completion.", + .type = FIO_OPT_BOOL, + .off1 = offsetof(struct librpma_fio_options_values, + busy_wait_polling), + .help = "Set to false if you want to reduce CPU usage", + .def = "1", + .category = FIO_OPT_C_ENGINE, + .group = FIO_OPT_G_LIBRPMA, + }, { .name = NULL, },