summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-09-07 14:25:30 -0600
committerJens Axboe <axboe@kernel.dk>2018-09-07 14:25:30 -0600
commit7c6686fcd9dc145c4dbab907ab29d2336f0ba935 (patch)
tree86b1e8ce6fdcbef220fb0ac28a13b1ead33cc1fa /client.h
parent83742c72e3d69b2d5c8a890b3803042b5fd1aae0 (diff)
downloadfio-7c6686fcd9dc145c4dbab907ab29d2336f0ba935.tar.gz
fio-7c6686fcd9dc145c4dbab907ab29d2336f0ba935.tar.bz2
client: switch to per-client buffer
Even with the local storage, for some operations we still end up having to do split dumps. Include the buffer in the actual client, and flush when the client is done. Hopefully this fixes the remaining buffer output split for client/server. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'client.h')
-rw-r--r--client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.h b/client.h
index a597449d..8033325e 100644
--- a/client.h
+++ b/client.h
@@ -74,6 +74,8 @@ struct fio_client {
struct client_file *files;
unsigned int nr_files;
+
+ struct buf_output buf;
};
typedef void (client_cmd_op)(struct fio_client *, struct fio_net_cmd *);