Bug 222514 - databases/lmdb: use fsync where supported
Summary: databases/lmdb: use fsync where supported
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Xin LI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-22 12:45 UTC by Pietro Cerutti
Modified: 2017-09-25 09:38 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (delphij)


Attachments
. (1.67 KB, text/plain)
2017-09-22 12:45 UTC, Pietro Cerutti
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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