]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/scrub: increasing max_osd_scrubs to 3 51669/head
authorRonen Friedman <rfriedma@redhat.com>
Mon, 22 May 2023 15:09:28 +0000 (18:09 +0300)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 22 May 2023 15:09:28 +0000 (18:09 +0300)
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>
src/common/options/osd.yaml.in

index 5bb93f15647a342125ee27debc0043489ce0cc9d..067e04df946f42e088f011ef2c341bd548b0255d 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