summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-03-09 20:10:51 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-09 20:10:51 +0100
commit6433ee054a5dc6533066e105baee4ff85197d392 (patch)
tree71d2226d9b5bc34553dfcfbcc61364908f526417 /client.h
parent8577f4fdb30ad26033d6175d66a6edd21c2417c6 (diff)
downloadfio-6433ee054a5dc6533066e105baee4ff85197d392.tar.gz
fio-6433ee054a5dc6533066e105baee4ff85197d392.tar.bz2
client: make ETA interval poll period configurage in fio_client_ops
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'client.h')
-rw-r--r--client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/client.h b/client.h
index caeb432a..9668afa8 100644
--- a/client.h
+++ b/client.h
@@ -83,6 +83,7 @@ struct client_ops {
client_add_job_op add_job;
client_timed_out timed_out;
client_stop_op stop;
+ unsigned int eta_msec;
int stay_connected;
};
@@ -118,5 +119,7 @@ extern void fio_clients_terminate(void);
extern struct fio_client *fio_get_client(struct fio_client *);
extern void fio_put_client(struct fio_client *);
+#define FIO_CLIENT_DEF_ETA_MSEC 900
+
#endif