Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-1213

LP #803270: fdatasync() can be used for transaction log and doublewrite buffer

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by Yasufumi Kinoshita last update 19-07-2011 04:39:38

      fsync() is intended to sync also metadata of the file (size, name, access time, etc..)
      But sync for transaction log and doublewrite buffer don't need to change such metadata of the each files.
      From point of view about performance, fdatasync() is better for them than fsync().

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: