]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: disable autoscaling for crimson-osd 45317/head
authorMatan Breizman <mbreizma@redhat.com>
Wed, 9 Mar 2022 15:29:32 +0000 (15:29 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Sat, 12 Mar 2022 18:08:17 +0000 (18:08 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/vstart.sh

index 5a58135278de7c50799b83bb8b538eeba7767bc5..4dd43ce4d606e0c924ea0b9fe526d8b9cd24e74d 100755 (executable)
@@ -693,6 +693,7 @@ prepare_conf() {
         debug asok assert abort = true
         $(format_conf "${msgr_conf}")
         $(format_conf "${extra_conf}")
+        $AUTOSCALER_OPTS
 EOF
     if [ "$lockdep" -eq 1 ] ; then
         wconf <<EOF
@@ -1314,6 +1315,12 @@ else
         debug ms = 1'
 fi
 
+# Crimson doesn't support PG merge/split yet.
+if [ "$ceph_osd" == "crimson-osd" ]; then
+    AUTOSCALER_OPTS='
+        osd_pool_default_pg_autoscale_mode = off'
+fi
+
 if [ -n "$MON_ADDR" ]; then
     CMON_ARGS=" -m "$MON_ADDR
     COSD_ARGS=" -m "$MON_ADDR