From 902f3987de95a5e926d33bc80618b80dba9a8d66 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 2 Feb 2018 11:55:47 -0600 Subject: [PATCH] vstart.sh: use assimilate-conf to ingest config options quickly Separate 'config set' commands is slow. Signed-off-by: Sage Weil --- src/vstart.sh | 93 +++++++++++++++++++++++++++++---------------------- 1 file changed, 53 insertions(+), 40 deletions(-) diff --git a/src/vstart.sh b/src/vstart.sh index cfd137df80f94..8e266c3cdca6a 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -844,51 +844,64 @@ if [ $CEPH_NUM_MON -gt 0 ]; then start_mon echo Populating config ... - $CEPH_BIN/ceph config set global osd_pool_default_size $OSD_POOL_DEFAULT_SIZE - $CEPH_BIN/ceph config set global osd_pool_default_min_size 1 - $CEPH_BIN/ceph config set global mon_pg_warn_min_per_osd 3 + cat <