boltdb/bolt — pull request #173 by benbjohnson (2014-05-23 17:42:17+00:00)
Title: Avoid trashing page cache on Tx.Copy().

This commit change the database copy to use O_DIRECT so that the Linux page cache is not trashed during a backup. This is only available on Linux.

*Note: The `odirect` name is used instead of `o_direct` to avoid golint warnings.

/cc @snormore @mkobetic