Skip to content

RFE: btrfs property set should allow setting compression level #329

@michel-slm

Description

@michel-slm

Per man 8 btrfs-property, btrfs property can be used to set the compression algorithm for a btrfs object (file/directory/subvol/filesystem). It doesn't seem to allow setting the compression level though.

Adding support would be very useful, as currently the level needs to be set for the entire filesystem in fstab, and can't be easily overridden (e.g. I might want to set a higher compression level for archived files or folders containing files of a certain type, and a lower one for heavily used files)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementkernelsomething in kernel has to be done too

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions