From: Kefu Chai Date: Tue, 21 Jul 2015 11:50:00 +0000 (+0800) Subject: doc/rados/configuration: add more scrub related config X-Git-Tag: v9.1.0~507^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F5304%2Fhead;p=ceph.git doc/rados/configuration: add more scrub related config Signed-off-by: Kefu Chai --- diff --git a/doc/rados/configuration/osd-config-ref.rst b/doc/rados/configuration/osd-config-ref.rst index fc5991a3ce96..0ac7d96b3492 100644 --- a/doc/rados/configuration/osd-config-ref.rst +++ b/doc/rados/configuration/osd-config-ref.rst @@ -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.