Skip to content
Snippets Groups Projects
Commit de308c70 authored by Eduardo Silva's avatar Eduardo Silva
Browse files

lib: chunkio: file: fix mmap leak due to missing mremap on syncing (#1037)


When a file is synced, the memory map size can change since there is
always extra space available in the region. The current implementation
did not adjusted the memory mapped size leading to keep mapped regions.

This patch make sure to adjust memory map size if required.

Signed-off-by: default avatarEduardo Silva <eduardo@treasure-data.com>
parent 239dda05
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment