edsrzf / mmap-go

A portable mmap package for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing and validating on OpenBSD

dohnuts opened this issue · comments

commented

Hello,

Prometheus is using mmap-go but since it does, problems occurs

prometheus/prometheus#8799
prometheus/prometheus#8799

In 8799 I dig a bit the source of the issue and I (IMHO) think it should be fixed at this level,
Could you somehow translate the C code test info mmap go so a patch can be provided and msync is called
when OpenBSD is used ?
or do you think specific sync called must be done at app level.

Best.

Best.