From 71c03bc61019dcab344e0ed26c2b87bf68c897c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sadowski?= Date: Mon, 21 Nov 2016 10:31:29 +0100 Subject: [PATCH] doc: Add doc about osd scrub {during recovery|chunk {min|max}| sleep} MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Sadowski --- doc/rados/configuration/osd-config-ref.rst | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/doc/rados/configuration/osd-config-ref.rst b/doc/rados/configuration/osd-config-ref.rst index 7a06b73d1793..a1ecc9cef845 100644 --- a/doc/rados/configuration/osd-config-ref.rst +++ b/doc/rados/configuration/osd-config-ref.rst @@ -237,6 +237,17 @@ scrubbing operations. :Type: Integer in the range of 0 to 24 :Default: ``24`` + +``osd scrub during recovery`` + +:Description: Allow scrub during recovery. Setting this to ``false`` will disable + scheduling new scrub (and deep--scrub) while there is active recovery. + Already running scrubs will be continued. This might be useful to reduce + load on busy clusters. +:Type: Boolean +:Default: ``true`` + + ``osd scrub thread timeout`` :Description: The maximum time in seconds before timing out a scrub thread. @@ -281,6 +292,32 @@ scrubbing operations. :Default: Once per week. ``7*60*60*24`` +``osd scrub chunk min`` + +:Description: The minimal number of object store chunks to scrub during single operation. + Ceph blocks writes to single chunk during scrub. + +:Type: 32-bit Integer +:Default: 5 + + +``osd scrub chunk max`` + +:Description: The maximum number of object store chunks to scrub during single operation. + +:Type: 32-bit Integer +:Default: 25 + + +``osd scrub sleep`` + +:Description: Time to sleep before scrubbing next group of chunks. Increasing this value will slow + down whole scrub operation while client operations will be less impacted. + +:Type: Float +:Default: 0 + + ``osd deep scrub interval`` :Description: The interval for "deep" scrubbing (fully reading all data). The -- 2.47.3