[CRIU] [PATCH] zdtm/socket-tcpbuf: heartbeat should not read all data
Pavel Emelyanov
xemul at parallels.com
Mon Oct 27 10:31:16 PDT 2014
On 10/24/2014 03:16 PM, Andrey Vagin wrote:
> Currently we fill as much as posible data in a socket and then use
> half of these data to make a flow in the connection.
>
> These data is send and recv buffers. When a connection is dumped and
> restored, it needs time to go back to the normal work. In this time we
> can reliably fill only send buffers. So at the result the sockets may
> contain less data than required for heartbeating and the test will
> block.
>
> The test with this patch will monitor actuall size of data in a test
> socket.
>
> Cc: Konstantin Neumoin <kneumoin at parallels.com>
> Reported-by: Konstantin Neumoin <kneumoin at parallels.com>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
applied
More information about the CRIU
mailing list