From a1f871c72971efe84cd42670d5df4c4dc56dbd3f Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 29 Oct 2014 08:30:07 -0600 Subject: [PATCH] engines: rename option specific pad from 'td' to 'pad' Except the net engine, they all just use it as padding to avoid having a zero offset member. The latter makes the parser think the offset isn't set, so not valid. Signed-off-by: Jens Axboe --- engines/cpu.c | 2 +- engines/e4defrag.c | 2 +- engines/gfapi.h | 2 +- engines/libaio.c | 2 +- engines/rbd.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/engines/cpu.c b/engines/cpu.c index 85598ef7..7e4d7374 100644 --- a/engines/cpu.c +++ b/engines/cpu.c @@ -8,7 +8,7 @@ #include "../fio.h" struct cpu_options { - struct thread_data *td; + void *pad; unsigned int cpuload; unsigned int cpucycle; unsigned int exit_io_done; diff --git a/engines/e4defrag.c b/engines/e4defrag.c index 3599ab8a..68540709 100644 --- a/engines/e4defrag.c +++ b/engines/e4defrag.c @@ -36,7 +36,7 @@ struct e4defrag_data { }; struct e4defrag_options { - struct thread_data *td; + void *pad; unsigned int inplace; char * donor_name; }; diff --git a/engines/gfapi.h b/engines/gfapi.h index 0da471c7..10284314 100644 --- a/engines/gfapi.h +++ b/engines/gfapi.h @@ -2,7 +2,7 @@ #include "../fio.h" struct gf_options { - struct thread_data *td; + void *pad; char *gf_vol; char *gf_brick; }; diff --git a/engines/libaio.c b/engines/libaio.c index f7e2f896..d4f48303 100644 --- a/engines/libaio.c +++ b/engines/libaio.c @@ -37,7 +37,7 @@ struct libaio_data { }; struct libaio_options { - struct thread_data *td; + void *pad; unsigned int userspace_reap; }; diff --git a/engines/rbd.c b/engines/rbd.c index f0a0e5bd..3688577f 100644 --- a/engines/rbd.c +++ b/engines/rbd.c @@ -25,7 +25,7 @@ struct rbd_data { }; struct rbd_options { - struct thread_data *td; + void *pad; char *rbd_name; char *pool_name; char *client_name; -- 2.25.1