[Bug 601299] Re: btrfs fsync() is extremely slow

Bug Watch Updater 601299 at bugs.launchpad.net
Thu Dec 11 14:47:32 UTC 2014


** Changed in: dpkg (Debian)
       Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/601299

Title:
  btrfs fsync() is extremely slow

Status in dpkg package in Ubuntu:
  Triaged
Status in dpkg package in Debian:
  Fix Released

Bug description:
  Installation and upgrades on btrfs are *extremely* slow.  This is
  because dpkg makes extensive fsync() calls to make sure that a power
  loss in the middle of an operation does not leave the system in a
  broken state.  These calls have a significant performance penalty on
  other filesystems ( such as ext[234] ), but on btrfs, the penalty is
  multiple orders of magnitude.

  As a workaround, you can use the eatmydata package/command around dpkg
  /apt-get to disable the fsync() calls and restore good performance
  during upgrades, at the risk of hosing the system if it crashes.  The
  apt-btrfs-snapshot package will have apt make a snapshot before it
  begins an upgrade so that if things do go wrong, you can at least roll
  back to the snapshot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/601299/+subscriptions



More information about the foundations-bugs mailing list