Created attachment 186616 [details] . 1) MDB_DSYNC is handled by mdb.c itself 2) Finer grained check for fdatasync, submitted upstream as http://www.OpenLDAP.org/its/index.cgi?findid=8739
A commit references this bug: Author: gahr Date: Mon Sep 25 09:37:33 UTC 2017 New revision: 450579 URL: https://svnweb.freebsd.org/changeset/ports/450579 Log: databases/lmdb: use fdatasync where supported Submitted upstream in http://www.openldap.org/its/index.cgi?findid=8739 PR: 222514 Submitted by: gahr Approved by: delphij (maintainer, via private email) Changes: head/databases/lmdb/Makefile head/databases/lmdb/files/patch-mdb.c