summaryrefslogtreecommitdiff
path: root/Documentation/btrfs-quota.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/btrfs-quota.asciidoc')
-rw-r--r--Documentation/btrfs-quota.asciidoc18
1 files changed, 17 insertions, 1 deletions
diff --git a/Documentation/btrfs-quota.asciidoc b/Documentation/btrfs-quota.asciidoc
index ef2e5d33..f882647d 100644
--- a/Documentation/btrfs-quota.asciidoc
+++ b/Documentation/btrfs-quota.asciidoc
@@ -96,7 +96,23 @@ instead of '0/ID'. For all higher levels, the ID can be chosen freely.
Each qgroup can contain a set of lower level qgroups, thus creating a hierarchy
of qgroups. Figure 1 shows an example qgroup tree.
-// TODO: insert Figure 1
+ +---+
+ |2/1|
+ +---+
+ / \
+ +---+/ \+---+
+ |1/1| |1/2|
+ +---+ +---+
+ / \ / \
+ +---+/ \+---+/ \+---+
+qgroups |0/1| |0/2| |0/3|
+ +-+-+ +---+ +---+
+ | / \ / \
+ | / \ / \
+ | / \ / \
+extents 1 2 3 4
+
+Figure1: Sample qgroup hierarchy
At the bottom, some extents are depicted showing which qgroups reference which
extents. It is important to understand the notion of 'referenced' vs