Skip to content

Commit

Permalink
btrfs-progs: docs: also mention no compression for swapfile
Browse files Browse the repository at this point in the history
The fact that the +C attribute excludes compression is mentioned in
<https://btrfs.readthedocs.io/en/latest/ch-compression.html#compatibility>.

Also mention it at the swapfile for clarity.

Pull-request: #530
Author: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
  • Loading branch information
createyourpersonalaccount authored and kdave committed Oct 25, 2022
1 parent 69b0d77 commit 6f11a70
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Documentation/ch-swapfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ swap subsystem:
* filesystem - must have only *single* data profile
* swapfile - the containing subvolume cannot be snapshotted
* swapfile - must be preallocated
* swapfile - must be nodatacow (ie. also nodatasum)
* swapfile - must not be compressed
* swapfile - must be nodatacow (ie. also nodatasum, no compression)

The limitations come namely from the COW-based design and mapping layer of
blocks that allows the advanced features like relocation and multi-device
Expand Down

0 comments on commit 6f11a70

Please sign in to comment.