Fix: lazy-mmap() streams when flushing
This fixes an issue when empty streams are created as the stream
creation will mmap() the file in preparation for the first event.
This results in "empty" stream files ending up with a non-zero size
which is invalid since no packet headers are found by the reader.
This change ensures that stream files are only mmap'ed on the first
stream flush and that empty streams are stored as size-0 files.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
This page took 0.024271 seconds and 5 git commands to generate.