[Btrfs-devel] Question about block_limit
Chris Mason
chris.mason at oracle.com
Fri Aug 10 10:45:44 PDT 2007
On Fri, 10 Aug 2007 13:42:10 -0400
Josef Bacik <jwhiter at redhat.com> wrote:
> Hello,
>
> I'm trying to implement block accounting, and I notice theres a
> block_limit in addition to blocks_used in btrfs_root_item. Its not
> set anywhere or anything so I'm wondering what I should do with it,
> as I assume its related to the block accounting. Should I make mkfs
> calculate the total number of blocks on the fs and set block_limit to
> that? Just want to know what that field is used for so I can keep it
> in mind while I do my work, or add it to my TODO list. Thanks much,
It is meant to be used as a quota for the subvolume, but right now I
would set to 0 and have that mean no limit.
-chris
More information about the Btrfs-devel
mailing list