Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thanks to amazing debugging assistance from grubles, we figured out that indeed, my memory was correct: write and mmap are not consistent on all platforms. The easiest fix is to disable mmap on OpenBSD for now: the better fix is to do in-place updates using the mmap, and only rely on write() for append (which always causes a remap anyway before it's accessed). Fixes: ElementsProject#7109 Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information