Logger: remapping request multiple of pagesize
While writing my file header, I have got a bug with the remapping (Invalid argument).
In the linux man page (https://linux.die.net/man/2/mmap): "... offset must be a multiple of the page size as returned by sysconf(_SC_PAGE_SIZE)."
With the following modification to the offset everything is fine but we have some gaps between two remapping. https://gitlab.cosma.dur.ac.uk/swift/swiftsim/blob/logger/src/dump.c#L86