diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index 968651330fd3e91c1b0a5bc26805ed545c759e11..2a7604d136d1c19a4061dd7652fc88e2c765dd10 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -508,6 +508,32 @@ device, measured in bytes. Since 0.4.1

+

Refresh overrides

+ +

+ The optional refresh element can control how the pool and + associated volumes are refreshed (pool type rbd). The + allocation attribute of the volume child element + controls the method used for computing the allocation of a volume. The + valid attribute values are default to compute the actual + usage or capacity to use the logical capacity for cases where + computing the allocation is too expensive. The following XML snippet + shows the syntax: +

+<pool type="rbd">
+  <name>myrbdpool</name>
+...
+  <source/>
+...
+  <refresh>
+    <volume allocation='capacity'/>
+  </refresh>
+...
+</pool>
+
+ Since 5.2.0 +

+

Storage Pool Namespaces

diff --git a/docs/schemas/storagecommon.rng b/docs/schemas/storagecommon.rng index 63b51470a015cbd0f074286d3aa76c134960d02f..d837f92bc7370c329581cdb532afdd70829ac040 100644 --- a/docs/schemas/storagecommon.rng +++ b/docs/schemas/storagecommon.rng @@ -236,4 +236,11 @@ + + + default + capacity + + + diff --git a/docs/schemas/storagepool.rng b/docs/schemas/storagepool.rng index 3907f70afe50510d63681f8de6908ec6882771b3..3ca8e790ea60419fff40b62a5acedba881ce5665 100644 --- a/docs/schemas/storagepool.rng +++ b/docs/schemas/storagepool.rng @@ -155,6 +155,7 @@ + @@ -691,6 +692,28 @@ + + + + + + + + + + + + + + + + + + + + + +