fix rbd_option parse error
[fio.git] / engines / rbd.c
index cf7be0acd1e3154e47bc36fcd9bea8a58a1e5433..363be65bea58ded83e37eb7b867283d6aada67f8 100644 (file)
@@ -23,6 +23,7 @@ struct rbd_data {
 };
 
 struct rbd_options {
+       struct thread_data *td;
        char *rbd_name;
        char *pool_name;
        char *client_name;
@@ -62,7 +63,7 @@ static struct fio_option options[] = {
                .lname          = "Busy poll",
                .type           = FIO_OPT_BOOL,
                .help           = "Busy poll for completions instead of sleeping",
-               .off1           = offsetof(struct rbd_options, client_name),
+               .off1           = offsetof(struct rbd_options, busy_poll),
                .def            = "0",
                .category       = FIO_OPT_C_ENGINE,
                .group          = FIO_OPT_G_RBD,