summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-12-14 18:51:22 -0700
committerJens Axboe <axboe@fb.com>2015-12-14 18:51:22 -0700
commita64c13a449ddd63bf7b501d85571360f3afd8980 (patch)
tree83d89ed7bb65cafc9d6668fd5310b4dc660c42fd /client.h
parent9c0037824e313eb9bd7dbc53cf302a42ad011fa8 (diff)
downloadfio-a64c13a449ddd63bf7b501d85571360f3afd8980.tar.gz
fio-a64c13a449ddd63bf7b501d85571360f3afd8980.tar.bz2
client: make SEND_ETA timeout non-fatal
If we fail a single ETA, then just soldier on. If we fail 5 in a row, then give up permanently. Also bring the command timeout back to 5s per command. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'client.h')
-rw-r--r--client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.h b/client.h
index cfb0b4d4..46e30edc 100644
--- a/client.h
+++ b/client.h
@@ -60,6 +60,7 @@ struct fio_client {
struct flist_head eta_list;
struct client_eta *eta_in_flight;
+ unsigned int eta_timeouts;
struct flist_head cmd_list;