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
+
+ 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 + +
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 @@
+