kdave / btrfs-progs

Development of userspace BTRFS tools
GNU General Public License v2.0
527 stars 239 forks source link

qgroup: Add new subcommand to set/get drop_subtree_threshold #795

Open kdave opened 1 month ago

kdave commented 1 month ago

For convenience we should provide a command to set the threshold, right now it's something like echo 1 > /sys/fs/btrfs/$uuid/qgroups/drop_subtree_threshold where the uuid must be found by other means.

Related note: we also have per-filesystem quota_override, an command may be also good, with unified naming. We have the property command so current suggestion is to set it like that instead of adding set/get command to quota or qgroup.