~maria-captains/maria/5.5-mdev232

Viewing all changes in revision 3459.

  • 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().

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: