Bug 222514

Summary: databases/lmdb: use fsync where supported
Product: Ports & Packages Reporter: Pietro Cerutti <gahr>
Component: Individual Port(s)Assignee: Xin LI <delphij>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (delphij)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
. none

Description Pietro Cerutti freebsd_committer 2017-09-22 12:45:58 UTC
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
Comment 1 commit-hook freebsd_committer 2017-09-25 09:38:33 UTC
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