client: respect terse output on client <--> backend relationship
authorLuis Chamberlain <mcgrof@kernel.org>
Tue, 21 Aug 2018 13:24:36 +0000 (07:24 -0600)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 23 Aug 2018 17:01:48 +0000 (11:01 -0600)
commit1d1b65dc17c39f43dbe9d66062ca61fc3e90ddfc
tree23304050f6d36056d9688bcee0f2f11fbb5aa68c
parentdaa899130fdd40f5df720ee54980b00b07903dc4
client: respect terse output on client <--> backend relationship

You end up with different results if you run this terse output
on a local system which also runs its own backend Vs running a
client to connect to a remote server which is running fio as a
backend only. The reason is the client ops handle printing of
threads / disk utils separately. The terse output created *by*
the backend is the right and expected output, so just use that,
and we can piggy back off of the fact that the server will send
its own output via FIO_NET_CMD_TEXT.

Another solution is to address getting the disk util data sent
to be cached locally, and then upon handle_ts() print that, but that
would require significant re-architecturing.

Terse output is supposed to be just that, terse. This implies
that it will not be clear from what backend data came from, but
for this the best strategy is to *extend* the terse version with
yet another field, the remote hostname/ip address.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
client.c
stat.c