summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-03-27 16:03:04 +0200
committerJens Axboe <axboe@kernel.dk>2012-03-27 16:03:04 +0200
commit40c605169e60d32fc321a2f9f465e76cba745489 (patch)
tree9487dced5a8dbfd2bf5fb7e8b6a1e22401340203 /client.h
parentf58bd2a4fc0ba558fd90878fe7db5f2d4809990b (diff)
downloadfio-40c605169e60d32fc321a2f9f465e76cba745489.tar.gz
fio-40c605169e60d32fc321a2f9f465e76cba745489.tar.bz2
gfio: start of being able to update options
Not quite done yet, but it's a start. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'client.h')
-rw-r--r--client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/client.h b/client.h
index a89afd8d..acb5a88f 100644
--- a/client.h
+++ b/client.h
@@ -48,6 +48,9 @@ struct fio_client {
int sent_job;
uint32_t type;
+ uint32_t thread_number;
+ uint32_t groupid;
+
struct flist_head eta_list;
struct client_eta *eta_in_flight;
@@ -77,6 +80,7 @@ struct client_ops {
client_cmd_op *probe;
client_cmd_op *quit;
client_cmd_op *add_job;
+ client_cmd_op *update_job;
client_timed_out_op *timed_out;
client_cmd_op *stop;
client_cmd_op *start;
@@ -120,6 +124,8 @@ extern int fio_client_terminate(struct fio_client *);
extern void fio_clients_terminate(void);
extern struct fio_client *fio_get_client(struct fio_client *);
extern void fio_put_client(struct fio_client *);
+extern int fio_client_update_options(struct fio_client *, struct thread_options *, uint64_t *);
+extern int fio_client_wait_for_reply(struct fio_client *, uint64_t);
#define FIO_CLIENT_DEF_ETA_MSEC 900