From a23351efdac9c9393be5fabd6ab5f1d9fbca908b Mon Sep 17 00:00:00 2001 From: John Wilkins Date: Thu, 30 Aug 2012 11:48:47 -0700 Subject: [PATCH] :doc: Added constraints and revised a description per joshd. Signed-off-by: John Wilkins --- doc/config-cluster/rbd-config-ref.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/config-cluster/rbd-config-ref.rst b/doc/config-cluster/rbd-config-ref.rst index 085643e2f0987..df3fe19223dea 100644 --- a/doc/config-cluster/rbd-config-ref.rst +++ b/doc/config-cluster/rbd-config-ref.rst @@ -53,6 +53,7 @@ section of your configuration file. The settings include: :Description: The ``dirty`` limit in bytes at which the cache triggers write-back. If ``0``, uses write-through caching. :Type: 64-bit Integer :Required: No +:Constraint: Must be less than ``rbd cache size``. :Default: ``24 MiB`` @@ -61,12 +62,13 @@ section of your configuration file. The settings include: :Description: The ``dirty target`` before the cache begins writing data to the data storage. Does not block writes to the cache. :Type: 64-bit Integer :Required: No +:Constraint: Must be less than ``rbd cache max dirty``. :Default: ``16 MiB`` ``rbd cache max dirty age`` -:Description: The number of seconds in the cache before writeback starts. +:Description: The number of seconds dirty data is in the cache before writeback starts. :Type: Float :Required: No :Default: ``1.0``