Re: BTRFS support per-subvolume compression, isn't it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux