-
Committer:
knielsen at knielsen-hq
-
Date:
2012-06-22 10:20:29 UTC
-
Revision ID:
knielsen@knielsen-hq.org-20120622102029-hd6l6ugdux3z231c
MDEV-232: Remove one fsync() from commit phase.
Introduce a new storage engine API method commit_checkpoint_request().
This is used to replace the fsync() at the end of every storage engine
commit with a single fsync() when a binlog is rotated.
Binlog rotation is now done during group commit instead of being
delayed until unlog(), removing some server stall and avoiding an
expensive lock/unlock of LOCK_log inside unlog().