From 1baeb1c743046cc654e21f13915499436ae163cb Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 21 Jul 2015 19:50:00 +0800 Subject: [PATCH] doc/rados/configuration: add more scrub related config Signed-off-by: Kefu Chai --- doc/rados/configuration/osd-config-ref.rst | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/rados/configuration/osd-config-ref.rst b/doc/rados/configuration/osd-config-ref.rst index fc5991a3ce962..0ac7d96b34921 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. -- 2.39.5