On Sat, Jan 9, 2021 at 6:11 AM Richard Shaw <hobbes1069@gmail.com> wrote:
>
> On Fri, Jan 8, 2021 at 10:12 AM Qiyu Yan <yanqiyu@fedoraproject.org> wrote:
>>
>> I think https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-qgroup and https://btrfs.wiki.kernel.org/index.php/Quota_support are what you are looking for.
>
While the quota tracks space usage for a subvolume, once it's reached,
writes fail. I'm not sure what interface exists for applications to
learn whether a quota is set and what value. I've noticed that ext4,
xfs, btrfs each have their own quota implementation and they're all
kinda confusing in different ways.