]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/scrub: increasing max_osd_scrubs to 3 55173/head
authorRonen Friedman <rfriedma@redhat.com>
Mon, 22 May 2023 15:09:28 +0000 (18:09 +0300)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 14 Jan 2024 15:49:45 +0000 (17:49 +0200)
Bug reports seem to hint that the current default value of
'1' is too low: the cluster is susceptible to scrub scheduling
delays and issues stemming from local software/networking/hardware
problems, even if affecting a very small number of OSDs.

Squid will include a major overhaul of the way scrubs are counted
in the cluster, providing a better solution to the problem. For
now - modifying the default is an effective stop-gap measure.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit cc7b4afda972c144d7ebc679ff7f42d86f1dc493)

src/common/options/osd.yaml.in

index 7291ce11dc1788ee6189fc1700f0611f6de89f98..88dd08a9f17388c49316bc07694d5933a2db16eb 100644 (file)
@@ -182,7 +182,7 @@ options:
   desc: Maximum concurrent scrubs on a single OSD
   fmt_desc: The maximum number of simultaneous scrub operations for
     a Ceph OSD Daemon.
-  default: 1
+  default: 3
   with_legacy: true
 - name: osd_scrub_during_recovery
   type: bool