Collect startup output before logging it
authorJens Axboe <axboe@kernel.dk>
Fri, 7 Sep 2018 18:02:39 +0000 (12:02 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 7 Sep 2018 18:02:39 +0000 (12:02 -0600)
commita41fc5291d25a02adfcca11915d41a645eaed502
tree9bba5d4aab374f7ad3f5127c3f251a1ab912d3bf
parentbb661c4027e5a0482b9fcc1c1b4e7e918650ee72
Collect startup output before logging it

We currently do the startup logging in separate chunks. This is
inefficient in terms of network trafic for client/server, and
it also causes output to be potentially mingled together:

<x1> Starting <x1> Starting 1 process1 process

Fix this by logging to a buffer, then transmitting that buffer
in one piece.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
backend.c
init.c