Announcement

Collapse
No announcement yet.

Btrfs "Reserve Flush Emergency" Feature Heading To Linux 6.2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Btrfs "Reserve Flush Emergency" Feature Heading To Linux 6.2

    Phoronix: Btrfs "Reserve Flush Emergency" Feature Heading To Linux 6.2

    "BTRFS_RESERVE_FLUSH_EMERGENCY" is on the way for the Linux 6.2 kernel for dealing with some issues that originally turned up within Facebook's data centers where they were seeing routine out-of-space transaction aborts. With BTRFS_RESERVE_FLUSH_EMERGENCY, Btrfs will try harder to avoid aborted transactions when running out of space...

    https://www.phoronix.com/news/Btrfs-Flush-Emergency

  • #2
    Since Facebook is using it for their fleet doesn't that mean that BTRFS is enterprise ready?
    Why isn't BTRFS the default filesystem on all the major distros already? What specifically is holding it back?

    Comment


    • #3
      Why is Facebook running their machines with so little free space in the first place?

      Comment


      • #4
        Originally posted by ATLief View Post
        Why is Facebook running their machines with so little free space in the first place?
        The news article specifically says that actual on-disk free space is not the problem.

        Comment


        • #5
          Originally posted by gnarlin View Post
          Since Facebook is using it for their fleet doesn't that mean that BTRFS is enterprise ready?
          Why isn't BTRFS the default filesystem on all the major distros already? What specifically is holding it back?
          Facebook runs it on top of hardware raid. They don't trust it to maintain data integrity. It's sole purpose is to provide snapshotting.

          Comment


          • #6
            Originally posted by Developer12 View Post

            Facebook runs it on top of hardware raid. They don't trust it to maintain data integrity. It's sole purpose is to provide snapshotting.
            Hardware RAID doesn't provide data integrity guarantees at all, so I'm not sure how you were able to get to that conclusion about not trusting Btrfs.

            Comment


            • #7
              Originally posted by gnarlin View Post
              Since Facebook is using it for their fleet doesn't that mean that BTRFS is enterprise ready?
              Why isn't BTRFS the default filesystem on all the major distros already? What specifically is holding it back?
              Performance isn't great for many workloads ?

              The fact there are still fixes for BTRFS in every other stable kernel version ?

              Comment


              • #8
                Originally posted by GingerDog View Post

                Performance isn't great for many workloads ?

                The fact there are still fixes for BTRFS in every other stable kernel version ?
                There are fixes for all filesystems.

                This just went into 6.1 kernel for XFS: "a tricky data corruption issue that I still haven't entirely solved" yet nobody is claiming that XFS is not a stable filesystem.

                Comment


                • #9
                  Originally posted by intelfx View Post

                  Hardware RAID doesn't provide data integrity guarantees at all, so I'm not sure how you were able to get to that conclusion about not trusting Btrfs.
                  Ask facebook why they're doing it this way then.

                  Comment


                  • #10
                    Originally posted by intelfx View Post

                    The news article specifically says that actual on-disk free space is not the problem.
                    Sort of. My understanding is that it's getting close to running out though at this point (even though it hasn't truly due to reserves), for cases where things are nearing a true ENOSPC and the filesystem is heavily fragmented. Btrfs being a COW filesystem has always struggled with ENOSPC when nearing full, as it's a complicated thing to get right as you don't really always know how much metadata you need to write with each change.

                    Comment

                    Working...
                    X