Fix: reset out_fd_offset when we rotate the trace file
authorJulien Desfossez <jdesfossez@efficios.com>
Tue, 13 Aug 2013 21:40:28 +0000 (17:40 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 15 Aug 2013 13:20:41 +0000 (09:20 -0400)
commite32c867f84a5abc518ee47566690b1a2c1b59f5a
tree26465a351071a1c231358ccd08f1821f06d175fc
parentda3d1b707e026be8fd7f4f133e729890c7dc3653
Fix: reset out_fd_offset when we rotate the trace file

This value is only used for the sync_file_range, but it has to be set
to 0 when we start to write in a new trace file, otherwise the values
passed to this call are bogus.

Applied to 2.3, but could probably be backported to 2.2.

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer.c
This page took 0.024673 seconds and 4 git commands to generate.