~mysqlatfacebook/mysqlatfacebook/5.0

Viewing all changes in revision 106.

  • Committer: Mark Callaghan
  • Date: 2010-05-05 16:09:15 UTC
  • Revision ID: mdcallag@gmail.com-20100505160915-1851mpzytzfpl04d
Re-enable fsync w/O_DIRECT when idb file changes size.

Some file systems don't write fs metadata immediately. After
system crash the ibdata files appeared much smaller than they should have
been preventing recovery.  This change re-enables sync on O_DIRECT only when the
file node size has changed since the last sync.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: