client: make SEND_ETA timeout non-fatal
authorJens Axboe <axboe@fb.com>
Tue, 15 Dec 2015 01:51:22 +0000 (18:51 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 15 Dec 2015 01:51:22 +0000 (18:51 -0700)
commita64c13a449ddd63bf7b501d85571360f3afd8980
tree83d89ed7bb65cafc9d6668fd5310b4dc660c42fd
parent9c0037824e313eb9bd7dbc53cf302a42ad011fa8
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>
client.c
client.h
server.h