Main Page
(→News) |
(link to RTD) |
||
(23 intermediate revisions by one user not shown) | |||
Line 12: | Line 12: | ||
Development of Btrfs started in 2007. Since that time, Btrfs is a part of the Linux kernel and is under active development. | Development of Btrfs started in 2007. Since that time, Btrfs is a part of the Linux kernel and is under active development. | ||
− | Jointly developed | + | Jointly developed by multiple companies (https://btrfs.readthedocs.io/en/latest/Contributors.htm, Btrfs is licensed under the GPL and open for contribution from anyone. |
[[Production_Users|List of companies using btrfs in production]]. | [[Production_Users|List of companies using btrfs in production]]. | ||
Line 83: | Line 83: | ||
* https://btrfs.readthedocs.org or https://btrfs.rtfd.io | * https://btrfs.readthedocs.org or https://btrfs.rtfd.io | ||
+ | * the #btrfs channel is at [https://libera.chat libera.chat], matrix.org bridge works (persistent room #btrfs:matrix.org). | ||
</div> | </div> | ||
Line 102: | Line 103: | ||
* [[Problem FAQ]] — Commonly-encountered problems and solutions. | * [[Problem FAQ]] — Commonly-encountered problems and solutions. | ||
** [[Gotchas]] — lists known bugs and issues, but not necessarily solutions. | ** [[Gotchas]] — lists known bugs and issues, but not necessarily solutions. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Manual pages === | === Manual pages === | ||
Line 131: | Line 122: | ||
* [[Developer's FAQ]] — hints and answers for contributors and developers, general information about patch formatting | * [[Developer's FAQ]] — hints and answers for contributors and developers, general information about patch formatting | ||
* [[Development notes]] — notes, hints, checklists for specific implementation tasks (eg. adding new ioctls) | * [[Development notes]] — notes, hints, checklists for specific implementation tasks (eg. adding new ioctls) | ||
− | |||
* [[Data Structures]] — detailed on-disk data structures | * [[Data Structures]] — detailed on-disk data structures | ||
* [[On-disk_Format | On-disk Format]] - Details of data structures written on disk | * [[On-disk_Format | On-disk Format]] - Details of data structures written on disk | ||
Line 138: | Line 128: | ||
* [[Btrfs design]] — design notes (possibly out of date in places) | * [[Btrfs design]] — design notes (possibly out of date in places) | ||
* [[Multiple Device Support]] — design notes | * [[Multiple Device Support]] — design notes | ||
− | |||
* [[Design_notes_on_Send/Receive]] — notes from initial impelentation, protocol V2 updates draft | * [[Design_notes_on_Send/Receive]] — notes from initial impelentation, protocol V2 updates draft | ||
* [[Qgroups status quo]] - notes on some qgroups observations/pain points | * [[Qgroups status quo]] - notes on some qgroups observations/pain points | ||
Line 158: | Line 147: | ||
<!-- News Block --> | <!-- News Block --> | ||
<div style="margin:0; margin-top:10px; border:1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#f0e0d0; align:left;"> | <div style="margin:0; margin-top:10px; border:1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#f0e0d0; align:left;"> | ||
+ | |||
== News == | == News == | ||
− | ''' | + | ''' btrfs-progs v5.18.1 (June 2022) ''' |
− | + | * Please see the release notes at [https://btrfs.readthedocs.io/en/latest/CHANGES.html#btrfs-progs-5-18-1-2022-06-06 readthedocs.io] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
''' util-linux v2.38 (Apr 2022) ''' | ''' util-linux v2.38 (Apr 2022) ''' | ||
Line 172: | Line 157: | ||
blk* utilities and libraries finally recognize btrfs formatted with zoned mode | blk* utilities and libraries finally recognize btrfs formatted with zoned mode | ||
− | ''' | + | ''' linux v5.17 (Mar 2022) ''' |
− | + | Features: | |
− | * | + | * make send work with concurrent block group relocation |
− | ** | + | * new exclusive operation 'balance paused' to allow adding a device to filesystem with paused balance |
− | + | * new sysfs file for fsid stored in the per-device directory to help distinguish devices when seeding is enabled | |
− | + | ||
− | + | ||
− | + | Performance: | |
+ | * less metadata needed for directory logging, directory deletion is 20-40% faster | ||
+ | * in zoned mode, cache zone information during mount to speed up repeated queries (about 50% speedup) | ||
+ | * free space tree entries get indexed and searched by size (latency -30%, search run time -30%) | ||
+ | * less contention in tree node locking when inserting a key and no splits are needed (files/sec in fsmark improves by 1-20%) | ||
− | * | + | Fixes: |
− | + | * defrag rewrite from 5.16 fixed | |
− | + | * get rid of warning when mounted with flushoncommit | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | * | + | |
Core: | Core: | ||
− | * | + | * global reserve stealing got simplified and cleaned up in evict |
− | * | + | * more preparatory work for extent tree v2 |
− | + | * remove readahead framework | |
− | + | ||
− | + | ||
− | + | ||
− | * | + | |
− | + | ||
* error handling improvements | * error handling improvements | ||
− | |||
</div> | </div> | ||
Line 217: | Line 191: | ||
* [[Changelog#By_feature|features by kernel version]] | * [[Changelog#By_feature|features by kernel version]] | ||
* [[Changelog#By_version_.28linux_kernel.29|kernel changes for each release]] | * [[Changelog#By_version_.28linux_kernel.29|kernel changes for each release]] | ||
− | * [[Changelog#By_version_.28btrfs-progs.29|btrfs-progs changes for each release]] | + | * <s>[[Changelog#By_version_.28btrfs-progs.29|btrfs-progs changes for each release (wiki)]]</s> btrfs-progs changes for each release https://btrfs.readthedocs.io/en/latest/CHANGES.html |
</div> | </div> | ||
<!-- Source code Block --> | <!-- Source code Block --> | ||
<div style="margin:0; margin-top:10px; border:1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#dfefdf; align:left; margin-top:10px"> | <div style="margin:0; margin-top:10px; border:1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#dfefdf; align:left; margin-top:10px"> | ||
+ | |||
== Source code download == | == Source code download == | ||
Line 259: | Line 234: | ||
=== Articles, presentations, podcasts === | === Articles, presentations, podcasts === | ||
+ | * [http://marc.merlins.org/perso/btrfs/post_2014-05-21_My-Btrfs-Talk-at-Linuxcon-JP-2014.html Marc MERLIN's Btrfs talk at Linuxcon JP 2014] which gives an overview of Btrfs, best practices, and its more interesting features. | ||
* '''Article:''' [http://www.howtoforge.com/a-beginners-guide-to-btrfs A Beginner's Guide To Btrfs] (2012-11-26) | * '''Article:''' [http://www.howtoforge.com/a-beginners-guide-to-btrfs A Beginner's Guide To Btrfs] (2012-11-26) | ||
* '''Article:''' [http://www.oracle.com/technetwork/articles/servers-storage-admin/advanced-btrfs-1734952.html How I Use the Advanced Capabilities of Btrfs] by Margaret Bierman with Lenz Grimmer (2012-08-11) | * '''Article:''' [http://www.oracle.com/technetwork/articles/servers-storage-admin/advanced-btrfs-1734952.html How I Use the Advanced Capabilities of Btrfs] by Margaret Bierman with Lenz Grimmer (2012-08-11) | ||
Line 275: | Line 251: | ||
<!-- Project Block --> | <!-- Project Block --> | ||
<div style="margin:0; margin-top:10px; border:1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#dfefdf; align:left; margin-top:10px"> | <div style="margin:0; margin-top:10px; border:1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#dfefdf; align:left; margin-top:10px"> | ||
+ | |||
== Project information/Contact == | == Project information/Contact == | ||
− | * | + | * Development statistics, contributors, commits — https://btrfs.readthedocs.io/en/latest/Contributors.html#statistics-for-5-x-series |
− | + | * [https://btrfs.readthedocs.io/en/latest/Glossary.html Glossary] | |
− | + | ||
− | * [ | + | |
* Contact information: | * Contact information: | ||
** [[Btrfs mailing list]] | ** [[Btrfs mailing list]] | ||
Line 286: | Line 261: | ||
** Reporting bugs: | ** Reporting bugs: | ||
*** for kernel code see [[Problem_FAQ#How_do_I_report_bugs_and_issues.3F | the Bugzilla FAQ]], quick tip: use product ''File System'' and component ''btrfs''. | *** for kernel code see [[Problem_FAQ#How_do_I_report_bugs_and_issues.3F | the Bugzilla FAQ]], quick tip: use product ''File System'' and component ''btrfs''. | ||
− | *** for btrfs-progs | + | *** for btrfs-progs please use [https://github.com/kdave/btrfs-progs/issues/ github issues] (and not kernel.org bugzilla anymore) |
− | *** for | + | *** for documentation please use [https://github.com/kdave/btrfs-progs/issues/ github issues] |
* [[Project ideas]] | * [[Project ideas]] | ||
* [[Project_ideas#Cleanup_projects|Cleanup ideas]] | * [[Project_ideas#Cleanup_projects|Cleanup ideas]] | ||
Line 298: | Line 273: | ||
== Wiki accounts, editing == | == Wiki accounts, editing == | ||
− | The wiki | + | The wiki is still in use, however the main portion of documenation is being migrated to https://btrfs.readthedocs.io. |
+ | |||
+ | Wiki edits and fixups are welcome and may be copied to the RTD documentation eventually. Please create an account and wait for approval (this is a necessary spam protection and we cannot remove it). You can try to catch some of the wiki admins on [[#Project_information.2FContact|IRC]] (or ping user 'kdave' in a query) to expedite the account creation. | ||
The registration requires full name for account but it's not mandatory from our perspective. The wiki User and User talk pages are created automatically but removed after account is approved. If you want to use the pages, create them manually, they won't be deleted. | The registration requires full name for account but it's not mandatory from our perspective. The wiki User and User talk pages are created automatically but removed after account is approved. If you want to use the pages, create them manually, they won't be deleted. |
Revision as of 14:05, 15 June 2022
btrfs is a modern copy on write (CoW) filesystem for Linux aimed at implementing advanced features while also focusing on fault tolerance, repair and easy administration. Its main features and benefits are:
- Snapshots which do not make the full copy of files
- RAID - support for software-based RAID 0, RAID 1, RAID 10
- Self-healing - checksums for data and metadata, automatic detection of silent data corruptions
Development of Btrfs started in 2007. Since that time, Btrfs is a part of the Linux kernel and is under active development.
Jointly developed by multiple companies (https://btrfs.readthedocs.io/en/latest/Contributors.htm, Btrfs is licensed under the GPL and open for contribution from anyone.
Development and Issue ReportingFor feature status, please refer to the Status page. The Btrfs code base is stable. However, new features are still under development. Every effort is made to ensure that it remains stable and fast at each and every commit. This rapid pace of development means that the filesystem improves noticeably with every new Linux release so it's highly recommended that users run the most modern kernel possible. For benchmarks, it's recommended to test the latest stable Linux version, and not any older, as well as the latest Linux development versions. Also, it's recommended to test the various mount options such as different compression options. If you find any behavior you suspect to be caused by a bug, performance issues, or have any questions about using Btrfs, please email the Btrfs mailing list (no subscription required). Please report bugs on Bugzilla. FeaturesLinux has a wealth of filesystems from which to choose, but we are facing a number of challenges with scaling to the large storage subsystems that are becoming common in today's data centers. Filesystems need to scale in their ability to address and manage large storage, and also in their ability to detect, repair and tolerate errors in the data stored on disk. Major Features Currently Implemented
Features by kernel versionFeatures Currently in Development or Planned for Future Implementation
Documentation
DocumentationGuides and usage information
Manual pages
Developer documentation
|
Newsbtrfs-progs v5.18.1 (June 2022)
util-linux v2.38 (Apr 2022) blk* utilities and libraries finally recognize btrfs formatted with zoned mode linux v5.17 (Mar 2022) Features:
Performance:
Fixes:
Core:
ChangelogRead about past releases in the separate Changelog page
Source code downloadBtrfs source repositories describes purpose and contents, here are a few quick links:
Articles, presentations, podcasts
Historical resourcesLinks to old or obsolete documentation, articles. Kept for historical reasons. Stuff that's more than 3 years old. Articles, presentations, podcasts
Project information/Contact
Wiki accounts, editingThe wiki is still in use, however the main portion of documenation is being migrated to https://btrfs.readthedocs.io. Wiki edits and fixups are welcome and may be copied to the RTD documentation eventually. Please create an account and wait for approval (this is a necessary spam protection and we cannot remove it). You can try to catch some of the wiki admins on IRC (or ping user 'kdave' in a query) to expedite the account creation. The registration requires full name for account but it's not mandatory from our perspective. The wiki User and User talk pages are created automatically but removed after account is approved. If you want to use the pages, create them manually, they won't be deleted. |