BTRFS support per-subvolume compression, isn't it?
Greetings!
BTRFS wiki says there is no per-subvolume compression option [1].
At the same time next command allow me to set properties per-subvolume:
btrfs property set /volume compression zstd
Corresponding get command shows distinct properties for every subvolume. Should wiki be updated?
Signature · 6 lines
King regards Eugene Bright IT engineer -------- [1] https://btrfs.wiki.kernel.org/index.php/Compression#Can_I_set_compression_per-subvolume.3F
Quoted 10 lines · Eugene Bright
Greetings!
BTRFS wiki says there is no per-subvolume compression option [1].
At the same time next command allow me to set properties per-subvolume:
btrfs property set /volume compression zstdCorresponding get command shows distinct properties for every subvolume. Should wiki be updated?
The wiki should be updated, but it's not technically wrong.
What the wiki is talking about is per-subvolume mount options to control compression (so, mounting individual subvolumes from the same volume with different compress= or compress-force= mount options), which is not currently supported.
You are correct though that properties can be used to achieve a similar result (compressing differently for different subvolumes.