client: ignore a client timeout, if the last thing we saw as a trigger
authorJens Axboe <axboe@kernel.dk>
Thu, 30 Nov 2017 20:27:40 +0000 (13:27 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 30 Nov 2017 20:27:40 +0000 (13:27 -0700)
commit47714d68b54de5f9520f8bef520d1451d8eddc04
treeef975023478a0c2750c2dd0d1e43db39fc1b7e7e
parent5c81ff5e2642b5891307c02d5a7aa8d2b08715ab
client: ignore a client timeout, if the last thing we saw as a trigger

If triggers are used and are fatal to the fio backend (killing power,
etc), then we don't have time to process the stop/quit commands. We
expect the client to go away, but the backend can't let us know.

If the last thing we saw was a trigger command, don't exit in error
if the client times out and goes away.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c
client.h