Open main menu

bcachefs is a copy-on-write (COW) file system for Linux-based operating systems. Its primary developer Kent Overstreet first announced it in 2015, and efforts are ongoing to have it included in the mainline Linux kernel.[1] It is intended to compete with the modern features of ZFS or btrfs, and the speed and performance of ext4 or XFS.

bcachefs
Developer(s)Kent Overstreet
Features
Transparent compressionYes
Transparent encryptionYes
Copy-on-writeYes
Other
Supported operating systemsLinux
Websitehttps://bcachefs.org/

Contents

FeaturesEdit

bcachefs is a copy-on-write (COW) file system for Linux-based operating systems.[2] Planned or existing features for bcachefs include caching,[3] full file-system encryption using the ChaCha20 and Poly1305 algorithms,[4] native compression[3] via zlib[2], LZ4, and Zstandard,[citation needed] snapshots,[3] CRC-32C and 64-bit checksumming.[2] It can use multiple block devices, including in RAID configurations.[4] bcachefs provides all the functionality of bcache, a block-layer cache system for Linux, with which bcachefs shares about 80% of its code.[1]

HistoryEdit

Primary development has been by Kent Overstreet, the developer of bcache, which he describes as a "prototype" for the ideas that became bcachefs. Overstreet intends bcachefs to replace bcache.[1] Overstreet has stated that development of bcachefs began as bcache's developers realized that its codebase had "been evolving ... into a full blown, general-purpose POSIX filesystem", and that "there was a really clean and elegant design" within it if they took it in that direction. Some time after bcache was merged in 2013 into the mainline Linux kernel, Overstreet left his job at Google to work full-time on bcachefs.[2]

After a few years' unfunded development, Overstreet announced bcachefs in 2015, at which point he called the code "more or less feature complete", and called for testers and contributors. He intended it to be an advanced file system with modern features[5] like those of ZFS or btrfs, with the speed and performance of file systems such as ext4 and XFS.[2] As of 2017 Overstreet was receiving financial support for the development of bcachefs via Patreon.[4]

As of mid-2018, the on-disk format had settled.[1] Patches had been submitted for review to have bcachefs included in the mainline Linux kernel, but had not yet been accepted.[3]

ReferencesEdit

Works citedEdit

  • Baader, Hans-Joachim (2017-03-17). "Neue Version von Bcachefs bringt Verschlüsselung" [New version of bcachefs brings encryption]. Pro-Linux [de] (in German). Retrieved 2018-11-23.
  • Edge, Jake (2018-05-23). "An update on bcachefs". LWN.net. Archived from the original on 2018-06-01. Retrieved 2018-11-22.
  • Jackson, Joab (2015-08-21). "Former Google engineer revs up a new Linux filesystem". PC World. Retrieved 2018-11-22.
  • Larabel, Michael (2015-08-21). "A New Linux File-System Aims For Speed While Having ZFS/Btrfs-Like Features". Phoronix. Archived from the original on 2015-08-23. Retrieved 2018-11-22.
  • Larabel, Michael (2018-05-09). "Bcachefs File-System Is Working On Going Upstream In The Linux Kernel". Phoronix. Archived from the original on 2018-07-09. Retrieved 2018-11-22.

External linksEdit