boltdb/bolt — pull request #109 by benbjohnson (2014-04-02 19:56:01+00:00)
Title: Consolidate file and metafile descriptors.

Previously, a two file descriptors were used for the database: file & metafile. The "file" file descriptor was used for async writes while the "metafile" file descriptor was used with O_SYNC writes. This commit changes that so that there's only one file descriptor and it uses fdatasync() to synchronize writes.

Fixes #106.

/cc @tv42