]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados/configuration: add more scrub related config 5304/head
authorKefu Chai <kchai@redhat.com>
Tue, 21 Jul 2015 11:50:00 +0000 (19:50 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 22 Jul 2015 03:15:21 +0000 (11:15 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
doc/rados/configuration/osd-config-ref.rst

index fc5991a3ce962f3c20212288f615588d6fb2cab4..0ac7d96b34921bab67061787fc176563cba4482e 100644 (file)
@@ -219,6 +219,23 @@ scrubbing operations.
 :Type: 32-bit Int
 :Default: ``1`` 
 
+``osd scrub begin hour``
+
+:Description: The time of day for the lower bound when a scheduled scrub can be
+              performed.
+:Type: Integer in the range of 0 to 24
+:Default: ``0``
+
+
+``osd scrub end hour``
+
+:Description: The time of day for the upper bound when a scheduled scrub can be
+              performed. Along with ``osd scrub begin hour``, they define a time
+              window, in which the scrubs can happen. But a scrub will be performed
+              no matter the time window allows or not, as long as the placement
+              group's scrub interval exceeds ``osd scrub max interval``.
+:Type: Integer in the range of 0 to 24
+:Default: ``24``
 
 ``osd scrub thread timeout`` 
 
@@ -273,6 +290,17 @@ scrubbing operations.
 :Default: Once per week.  ``60*60*24*7``
 
 
+``osd scrub interval randomize ratio``
+
+:Description: Add a random delay to ``osd scrub min interval`` when scheduling
+              the next scrub job for a placement group. The delay is a random
+              value less than ``osd scrub min interval`` \*
+              ``osd scrub interval randomized ratio``. So the default setting
+              practically randomly spreads the scrubs out in the allowed time
+              window of ``[1, 1.5]`` \* ``osd scrub min interval``.
+:Type: Float
+:Default: ``0.5``
+
 ``osd deep scrub stride``
 
 :Description: Read size when doing a deep scrub.