From fea585d43f975cef74beb3df770168f36ae895b9 Mon Sep 17 00:00:00 2001 From: Ketor Meng Date: Wed, 29 Oct 2014 15:09:57 +0000 Subject: [PATCH 1/1] fix rbd_option parse error Signed-off-by: Ketor Meng --- engines/rbd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/rbd.c b/engines/rbd.c index cf7be0ac..363be65b 100644 --- a/engines/rbd.c +++ b/engines/rbd.c @@ -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, -- 2.25.1