2023-03-17 19:40:30 +00:00
|
|
|
Status
|
|
|
|
======
|
|
|
|
|
|
|
|
Overview
|
|
|
|
--------
|
|
|
|
|
|
|
|
For a list of features by their introduction, please see `Changes (feature/version) <Feature-by-version>`__.
|
|
|
|
|
|
|
|
The table below aims to serve as an overview for the stability status of
|
|
|
|
the features BTRFS supports. While a feature may be functionally safe
|
|
|
|
and reliable, it does not necessarily mean that its useful, for example
|
|
|
|
in meeting your performance expectations for your specific workload.
|
|
|
|
Combination of features can vary in performance, the table does not
|
|
|
|
cover all possibilities.
|
|
|
|
|
2024-01-09 15:59:19 +00:00
|
|
|
**The table is based on the latest released linux kernel: 6.7**
|
2023-03-17 19:40:30 +00:00
|
|
|
|
|
|
|
The columns for each feature reflect the status of the implementation
|
|
|
|
in following ways:
|
|
|
|
|
|
|
|
| *Stability* - completeness of the implementation, use case coverage
|
|
|
|
| *Performance* - how much it could be improved until the inherent limits are hit
|
|
|
|
| *Notes* - short description of the known issues, or other information related to status
|
|
|
|
|
|
|
|
*Legend:*
|
|
|
|
|
|
|
|
- **OK**: should be safe to use, no known major deficiencies
|
|
|
|
- **mostly OK**: safe for general use, there are some known problems
|
|
|
|
that do not affect majority of users
|
|
|
|
- **Unstable**: do not use for other then testing purposes, known
|
|
|
|
severe problems, missing implementation of some core parts
|
|
|
|
|
2023-05-31 23:14:47 +00:00
|
|
|
.. role:: statusok
|
|
|
|
.. role:: statusmok
|
2023-08-23 15:58:06 +00:00
|
|
|
.. role:: statusunstable
|
|
|
|
.. role:: statusunsupp
|
|
|
|
.. role:: statusincompat
|
2023-05-31 23:14:47 +00:00
|
|
|
|
2023-03-17 19:40:30 +00:00
|
|
|
.. list-table::
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
|
|
* - Feature
|
|
|
|
- Stability
|
|
|
|
- Performance
|
|
|
|
- Notes
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :doc:`Subvolumes, snapshots<Subvolumes>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-09-06 15:03:49 +00:00
|
|
|
- OK
|
2023-03-17 19:40:30 +00:00
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :doc:`Compression<Compression>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
-
|
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :doc:`Checksumming algorithms<Checksumming>`
|
|
|
|
- :statusok:`OK`
|
|
|
|
- OK
|
2023-03-17 19:40:30 +00:00
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :doc:`Defragmentation<Defragmentation>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusmok:`mostly OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
-
|
|
|
|
- extents get unshared (see below)
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :ref:`Autodefrag<mount-option-autodefrag>`
|
|
|
|
- :statusok:`OK`
|
|
|
|
-
|
|
|
|
-
|
|
|
|
* - :doc:`Discard (synchronous)<Trim>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
- mounted with `-o discard` (has performance implications), also see `fstrim`
|
|
|
|
* - :doc:`Discard (asynchronous)<Trim>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
- mounted with `-o discard=async` (improved performance)
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :doc:`Out-of-band dedupe<Deduplication>`
|
|
|
|
- :statusok:`OK`
|
|
|
|
- :statusmok:`mostly OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- (reflink), heavily referenced extents have a noticeable performance hit (see below)
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :doc:`File range cloning<Reflink>`
|
|
|
|
- :statusok:`OK`
|
|
|
|
- :statusmok:`mostly OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- (reflink), heavily referenced extents have a noticeable performance hit (see below)
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :doc:`Filesystem resize<Resize>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
2023-09-06 15:03:49 +00:00
|
|
|
- shrink, grow
|
|
|
|
* - :doc:`Device replace<Volume-management>`
|
|
|
|
- :statusmok:`mostly OK`
|
|
|
|
- mostly OK
|
|
|
|
- (see below)
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :doc:`Auto-repair<Auto-repair>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
- automatically repair from a correct spare copy if possible (DUP, RAID1, RAID10, RAID56)
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :doc:`Scrub<Scrub>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
|
|
|
* - Scrub + RAID56
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusmok:`mostly OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- mostly OK
|
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :ref:`Degraded mount<mount-option-degraded>`
|
|
|
|
- :statusok:`OK`
|
|
|
|
- n/a
|
|
|
|
-
|
|
|
|
* - :doc:`Balance<Balance>`
|
|
|
|
- :statusok:`OK`
|
|
|
|
- OK
|
|
|
|
- balance + qgroups can be slow when there are many snapshots
|
|
|
|
* - :doc:`Send<Send-receive>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :doc:`Receive<Send-receive>`
|
|
|
|
- :statusok:`OK`
|
|
|
|
- OK
|
|
|
|
-
|
|
|
|
* - Offline UUID change
|
|
|
|
- :statusok:`OK`
|
|
|
|
- OK
|
|
|
|
-
|
|
|
|
* - Metadata UUID change
|
|
|
|
- :statusok:`OK`
|
|
|
|
- OK
|
|
|
|
-
|
2023-10-30 22:15:31 +00:00
|
|
|
* - Temporary UUID
|
|
|
|
- 6.7
|
|
|
|
- 6.7
|
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :doc:`Seeding<Seeding-device>`
|
|
|
|
- :statusok:`OK`
|
|
|
|
- OK
|
|
|
|
-
|
|
|
|
* - :doc:`Quotas, qgroups<Qgroups>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusmok:`mostly OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- mostly OK
|
2023-09-06 15:03:49 +00:00
|
|
|
- qgroups with many snapshots slows down balance
|
2023-10-30 22:15:31 +00:00
|
|
|
* - :doc:`Quotas, simple qgroups<Qgroups>`
|
|
|
|
- 6.7
|
|
|
|
- 6.7
|
|
|
|
- simplified qgroup accounting, better performance
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :doc:`Swapfile<Swapfile>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- n/a
|
2023-09-06 15:03:49 +00:00
|
|
|
- with some limitations
|
|
|
|
* - nodatacow
|
|
|
|
- :statusok:`OK`
|
|
|
|
- OK
|
2023-03-17 19:40:30 +00:00
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :doc:`Subpage block size<Subpage>`
|
|
|
|
- :statusmok:`mostly OK`
|
|
|
|
- mostly OK
|
|
|
|
- Also see table below for more detailed compatibility.
|
|
|
|
* - :doc:`Zoned mode<Zoned-mode>`
|
|
|
|
- :statusmok:`mostly OK`
|
|
|
|
- mostly OK
|
|
|
|
- Not yet feature complete but moderately stable, also see table below
|
|
|
|
for more detailed compatibility.
|
|
|
|
|
|
|
|
Block group profiles
|
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
.. list-table::
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
|
|
* - Feature
|
|
|
|
- Stability
|
|
|
|
- Performance
|
|
|
|
- Notes
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`Single (block group profile)<mkfs-section-profiles>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`DUP (block group profile)<mkfs-section-profiles>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`RAID0<mkfs-section-profiles>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`RAID1<mkfs-section-profiles>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- mostly OK
|
|
|
|
- reading from mirrors in parallel can be optimized further (see below)
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`RAID1C3<mkfs-section-profiles>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- mostly OK
|
|
|
|
- reading from mirrors in parallel can be optimized further (see below)
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`RAID1C4<mkfs-section-profiles>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- mostly OK
|
|
|
|
- reading from mirrors in parallel can be optimized further (see below)
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`RAID10<mkfs-section-profiles>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- mostly OK
|
|
|
|
- reading from mirrors in parallel can be optimized further (see below)
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`RAID56<mkfs-section-profiles>`
|
2023-08-23 15:58:06 +00:00
|
|
|
- :statusunstable:`unstable`
|
2023-03-17 19:40:30 +00:00
|
|
|
- n/a
|
|
|
|
- (see below)
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :ref:`Mixed block groups<mkfs-feature-mixed-bg>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
On-disk format
|
|
|
|
^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Features that are typically set at *mkfs* time (sometimes can be changed or
|
|
|
|
converted later).
|
|
|
|
|
|
|
|
.. list-table::
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
|
|
* - Feature
|
|
|
|
- Stability
|
|
|
|
- Performance
|
|
|
|
- Notes
|
|
|
|
* - :ref:`extended-refs<mkfs-feature-extended-refs>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :ref:`skinny-metadata<mkfs-feature-skinny-metadata>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :ref:`no-holes<mkfs-feature-no-holes>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :ref:`Free space tree<mkfs-feature-free-space-tree>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-10-30 22:15:31 +00:00
|
|
|
* - :ref:`Block group tree<mkfs-feature-block-group-tree>`
|
|
|
|
- :statusok:`OK`
|
|
|
|
- OK
|
|
|
|
-
|
|
|
|
* - :ref:`Raid stripe tree<mkfs-feature-raid-stripe-tree>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
|
|
|
|
Interoperability
|
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Integration with other Linux features or external systems.
|
|
|
|
:doc:`See also<Interoperability>`.
|
|
|
|
|
|
|
|
.. list-table::
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
|
|
* - Feature
|
|
|
|
- Stability
|
|
|
|
- Performance
|
|
|
|
- Notes
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`NFS<interop-nfs>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`cgroups<interop-cgroups>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
- IO controller
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`io_uring<interop-io-uring>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`fsverity<interop-fsverity>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-05-31 23:14:47 +00:00
|
|
|
* - :ref:`idmapped mount<interop-idmapped>`
|
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
|
|
|
-
|
2023-09-06 15:03:49 +00:00
|
|
|
* - :ref:`Samba<interop-samba>`
|
2023-05-31 23:14:47 +00:00
|
|
|
- :statusok:`OK`
|
2023-03-17 19:40:30 +00:00
|
|
|
- OK
|
2023-09-06 15:03:49 +00:00
|
|
|
- compression, server-side copies, snapshots
|
2023-03-17 19:40:30 +00:00
|
|
|
|
|
|
|
Please open an issue if:
|
|
|
|
|
|
|
|
- there's a known missing entry
|
|
|
|
- a particular feature combination that has a different status and is
|
|
|
|
worth mentioning separately
|
|
|
|
- you know of a bug that lowers the feature status
|
|
|
|
|
2023-08-23 15:58:06 +00:00
|
|
|
.. _status-subpage-block-size:
|
|
|
|
|
2023-05-31 23:14:47 +00:00
|
|
|
Subpage block size
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Most commonly used page sizes are 4KiB, 16KiB and 64KiB. All combinations with
|
|
|
|
a 4KiB sector size filesystems are supported. Some features are not compatible
|
2024-01-18 01:37:08 +00:00
|
|
|
with subpage or require another feature to work. Since btrfs-progs 6.7 the default
|
|
|
|
sector size is 4KiB as this allows cross-architecture compatibility.
|
2023-05-31 23:14:47 +00:00
|
|
|
|
|
|
|
.. list-table::
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
|
|
* - Feature
|
|
|
|
- Status
|
|
|
|
- Notes
|
|
|
|
* - Inline files
|
2023-08-23 15:58:06 +00:00
|
|
|
- :statusunsupp:`unsupported`
|
|
|
|
- The max_inline mount option value is ignored, as if mounted with max_inline=0
|
2023-05-31 23:14:47 +00:00
|
|
|
* - Free space cache v1
|
2023-08-23 15:58:06 +00:00
|
|
|
- :statusunsupp:`unsupported`
|
2023-09-06 15:03:49 +00:00
|
|
|
- Free space tree is mandatory, v1 makes some assumptions about page size
|
2023-05-31 23:14:47 +00:00
|
|
|
* - Compression
|
2023-08-23 15:58:06 +00:00
|
|
|
- :statusok:`partial support`
|
2023-05-31 23:14:47 +00:00
|
|
|
- Only page-aligned ranges can be compressed
|
2023-08-23 15:58:06 +00:00
|
|
|
* - Sectorsize
|
|
|
|
- :statusok:`supported`
|
|
|
|
- The list of supported sector sizes on a given version can be found
|
|
|
|
in file :file:`/sys/fs/btrfs/features/supported_sectorsizes`
|
2023-05-31 23:14:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
Zoned mode
|
|
|
|
----------
|
|
|
|
|
2023-08-23 15:58:06 +00:00
|
|
|
Features that completely incompatible with zoned mode are listed below.
|
|
|
|
Compatible features may not be listed and are assumed to work as they
|
|
|
|
are unaffected by the zoned device constraints.
|
|
|
|
|
2023-05-31 23:14:47 +00:00
|
|
|
.. list-table::
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
|
|
* - Feature
|
|
|
|
- Status
|
|
|
|
- Notes
|
|
|
|
* - Boot
|
2023-08-23 15:58:06 +00:00
|
|
|
- :statusincompat:`incompatible`
|
2023-10-30 22:15:31 +00:00
|
|
|
- The blocks where partition table is stored are used for super block
|
2023-05-31 23:14:47 +00:00
|
|
|
* - Mixed block groups
|
2023-08-23 15:58:06 +00:00
|
|
|
- :statusincompat:`incompatible`
|
2023-05-31 23:14:47 +00:00
|
|
|
- Interleaving data and metadata would lead to out of order write
|
|
|
|
* - NODATACOW
|
2023-08-23 15:58:06 +00:00
|
|
|
- :statusincompat:`incompatible`
|
2023-05-31 23:14:47 +00:00
|
|
|
- In-place overwrite
|
|
|
|
* - fallocate
|
2023-08-23 15:58:06 +00:00
|
|
|
- :statusincompat:`incompatible`
|
2023-05-31 23:14:47 +00:00
|
|
|
- Preallocation of blocks would require an out of order write
|
|
|
|
* - Free space cache v1
|
2023-08-23 15:58:06 +00:00
|
|
|
- :statusincompat:`incompatible`
|
2023-05-31 23:14:47 +00:00
|
|
|
- Cache data are updated in a NODATACOW-way
|
2023-08-23 15:58:06 +00:00
|
|
|
* - Swapfile
|
|
|
|
- :statusincompat:`incompatible`
|
|
|
|
- Swap blocks are written out of order
|
|
|
|
* - Offline UUID change
|
|
|
|
- :statusincompat:`incompatible`
|
|
|
|
- Metadata blocks are updated in-place
|
2023-05-31 23:14:47 +00:00
|
|
|
* - Free space tree
|
2023-08-23 15:58:06 +00:00
|
|
|
- :statusok:`supported`
|
2023-05-31 23:14:47 +00:00
|
|
|
-
|
2023-10-30 22:15:31 +00:00
|
|
|
* - Block group tree
|
|
|
|
- :statusok:`supported`
|
|
|
|
-
|
|
|
|
* - Raid stripe tree
|
|
|
|
- :statusok:`supported`
|
|
|
|
- Allows to use RAID in zoned mode
|
2023-08-23 15:58:06 +00:00
|
|
|
* - Filesystem resize
|
|
|
|
- :statusok:`supported`
|
|
|
|
-
|
|
|
|
* - Balance
|
|
|
|
- :statusok:`supported`
|
|
|
|
-
|
|
|
|
* - Metadata UUID change
|
|
|
|
- :statusok:`supported`
|
|
|
|
-
|
2023-10-30 22:15:31 +00:00
|
|
|
* - RAID0, RAID1*
|
|
|
|
- :statusok:`supported`
|
|
|
|
- requires `raid-stripe-tree`
|
|
|
|
* - RAID56
|
2023-05-31 23:14:47 +00:00
|
|
|
- not implemented
|
2024-01-09 15:59:19 +00:00
|
|
|
- Will be supported once raid-stripe-tree support is implemented
|
2023-08-23 15:58:06 +00:00
|
|
|
* - discard
|
|
|
|
- not implemented
|
|
|
|
- May not be required at all due to automatic zone reclaim
|
|
|
|
* - fsverity
|
|
|
|
- TBD
|
|
|
|
-
|
|
|
|
* - seeding
|
|
|
|
- TBD
|
|
|
|
-
|
2023-05-31 23:14:47 +00:00
|
|
|
|
2023-03-17 19:40:30 +00:00
|
|
|
|
|
|
|
Details that do not fit the table
|
2023-11-30 23:53:40 +00:00
|
|
|
---------------------------------
|
2023-03-17 19:40:30 +00:00
|
|
|
|
|
|
|
Defrag
|
|
|
|
^^^^^^
|
|
|
|
|
|
|
|
The data affected by the defragmentation process will be newly written
|
|
|
|
and will consume new space, the links to the original extents will not
|
2023-06-28 17:55:08 +00:00
|
|
|
be kept. See also :doc:`btrfs-filesystem` . Though
|
2023-03-17 19:40:30 +00:00
|
|
|
autodefrag affects newly written data, it can read a few adjacent blocks
|
|
|
|
(up to 64KiB) and write the contiguous extent to a new location. The
|
|
|
|
adjacent blocks will be unshared. This happens on a smaller scale than
|
|
|
|
the on-demand defrag and doesn't have the same impact.
|
|
|
|
|
|
|
|
|
|
|
|
RAID1, RAID10
|
|
|
|
^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
The simple redundancy RAID levels utilize different mirrors in a way
|
|
|
|
that does not achieve the maximum performance. The logic can be improved
|
|
|
|
so the reads will spread over the mirrors evenly or based on device
|
|
|
|
congestion.
|
|
|
|
|
|
|
|
RAID56
|
|
|
|
^^^^^^
|
|
|
|
|
|
|
|
Please see
|
|
|
|
https://btrfs.readthedocs.io/en/latest/btrfs-man5.html#raid56-status-and-recommended-practices
|
|
|
|
.
|
|
|
|
|
|
|
|
|
|
|
|
Device replace
|
|
|
|
^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Device *replace* and device *delete* insist on being able to read or
|
|
|
|
reconstruct all data. If any read fails due to an IO error, the
|
|
|
|
delete/replace operation is aborted and the administrator must remove or
|
|
|
|
replace the damaged data before trying again.
|
|
|
|
|
|
|
|
|
|
|
|
On-disk format
|
|
|
|
--------------
|
|
|
|
|
|
|
|
The filesystem disk format is stable. This means it is not expected to
|
|
|
|
change unless there are very strong reasons to do so. If there is a
|
|
|
|
format change, filesystems which implement the previous disk format will
|
|
|
|
continue to be mountable and usable by newer kernels.
|
|
|
|
|
|
|
|
The core of the on-disk format that comprises building blocks of the
|
|
|
|
filesystem:
|
|
|
|
|
2023-05-31 23:14:47 +00:00
|
|
|
- layout of the main data structures, e.g. superblock, b-tree nodes,
|
2023-03-17 19:40:30 +00:00
|
|
|
b-tree keys, block headers
|
|
|
|
- the COW mechanism, based on the original design of Ohad Rodeh's paper
|
2023-05-31 23:14:47 +00:00
|
|
|
"B-trees, Shadowing and Clones" (http://sylab-srv.cs.fiu.edu/lib/exe/fetch.php?media=paperclub:shadow_btree.pdf)
|
2023-03-17 19:40:30 +00:00
|
|
|
|
|
|
|
Newly introduced features build on top of the above and could add
|
|
|
|
specific structures. If a backward compatibility is not possible to
|
|
|
|
maintain, a bit in the filesystem superblock denotes that and the level
|
|
|
|
of incompatibility (full, read-only mount possible).
|