Skip to content

Commit

Permalink
:doc: Added constraints and revised a description per joshd.
Browse files Browse the repository at this point in the history
Signed-off-by: John Wilkins <[email protected]>
  • Loading branch information
John Wilkins committed Aug 30, 2012
1 parent f2c4510 commit a23351e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/config-cluster/rbd-config-ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``


Expand All @@ -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``
Expand Down

0 comments on commit a23351e

Please sign in to comment.