btrfs-progs: doc: add figure 1 to btrfs quota doc
diff mbox

Message ID cda4441c-3623-dd32-e2ee-94b73a9c2512@jp.fujitsu.com
State New
Headers show

Commit Message

Misono Tomohiro Aug. 24, 2017, 7:48 a.m. UTC
The document of btrfs quota is missing figure 1.

I notice the body is copy of http://sensille.com/qgroups.pdf (whi
ch is linked from 
https://btrfs.wiki.kernel.org/index.php/Quota_support), and insert the 
figure.

Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
---
  Documentation/btrfs-quota.asciidoc | 18 +++++++++++++++++-
  1 file changed, 17 insertions(+), 1 deletion(-)

  At the bottom, some extents are depicted showing which qgroups 
reference which
  extents.  It is important to understand the notion of 'referenced' vs

Comments

David Sterba Aug. 24, 2017, 5:45 p.m. UTC | #1
On Thu, Aug 24, 2017 at 04:48:31PM +0900, Misono, Tomohiro wrote:
> The document of btrfs quota is missing figure 1.
> 
> I notice the body is copy of http://sensille.com/qgroups.pdf (whi
> ch is linked from 
> https://btrfs.wiki.kernel.org/index.php/Quota_support), and insert the 
> figure.
> 
> Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/Documentation/btrfs-quota.asciidoc 
b/Documentation/btrfs-quota.asciidoc
index ef2e5d3..5bd13cb 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