summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-08-26 17:33:34 +0200
committerJens Axboe <axboe@kernel.dk>2012-08-26 17:33:34 +0200
commit14ea90edf265aae2b82f25418fde179c452909f9 (patch)
tree60502cc6e5f2dd03a018e3d20daece93b9472a0b /client.h
parent97908e6b8161634bbc1e3702dc4b762d1e242747 (diff)
downloadfio-14ea90edf265aae2b82f25418fde179c452909f9.tar.gz
fio-14ea90edf265aae2b82f25418fde179c452909f9.tar.bz2
client: support per-client job files
Currently the fio network client sends all job files to all clients. This isn't very flexible. Add support for specifying a specific job file for each client. Example: $ fio --client hostname1 jobfile1 --client hostname2 jobfile2 would before add jobfile1 and jobfile2 as job files for both clients. With this change, only jobfile1 is sent to hostname1, and only jobfile2 is sent to hostname2. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'client.h')
-rw-r--r--client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/client.h b/client.h
index acb5a88f..341d2606 100644
--- a/client.h
+++ b/client.h
@@ -61,6 +61,9 @@ struct fio_client {
struct client_ops *ops;
void *client_data;
+
+ char **ini_file;
+ unsigned int nr_ini_file;
};
struct cmd_iolog_pdu;
@@ -120,6 +123,7 @@ extern int fio_handle_clients(struct client_ops *);
extern int fio_client_add(struct client_ops *, const char *, void **);
extern struct fio_client *fio_client_add_explicit(struct client_ops *, const char *, int, int);
extern void fio_client_add_cmd_option(void *, const char *);
+extern void fio_client_add_ini_file(void *, const char *);
extern int fio_client_terminate(struct fio_client *);
extern void fio_clients_terminate(void);
extern struct fio_client *fio_get_client(struct fio_client *);