Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

non-WRITEMAP mode is broken on OpenBSD (this is OpenBSD kernel's ~~bug~~feature) #67

Closed
erthink opened this issue Nov 14, 2019 · 4 comments
Labels

Comments

@erthink
Copy link
Owner

erthink commented Nov 14, 2019

On OpenBSD writing to the file descriptor of a mmap'ed file are not (always and/or immediately) visible in the corresponding mmap'ed memory region.

For this reason:

  • all tests in modes with the WRITEMAP flag are always passed.
  • otherwise (in modes without the WRITEMAP flag) most tests fails with very high probability.
@erthink
Copy link
Owner Author

erthink commented Nov 14, 2019

It's Not a Bug, It's a OpenBSD's Feature.

@erthink
Copy link
Owner Author

erthink commented Nov 14, 2019

@erthink
Copy link
Owner Author

erthink commented Nov 14, 2019

@hyc, FYI for LMDB.

@hyc
Copy link
Contributor

hyc commented Nov 14, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants