On 2018-08-27 17:05, Eugene Bright wrote:
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?

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.

Reply via email to