Merge branch 'gpspm-add-optional-use-rpma_conn_completion_wait-function' of https...
[fio.git] / engines / librpma_fio.c
index 810b55e23d522d920492bbeaf282667b4a49d317..3d605ed6c3721dcb5866d3bbe6b4754a3cb9e3dd 100644 (file)
@@ -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,
        },