From 1a08a4126650f0ff82187124a27b0b9efcfc7726 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 9 Apr 2018 07:20:05 -0500 Subject: [PATCH] mon/OSDMonitor: add mon_osd_max_initial_pgs to cap initial pool pgs Configure how many initial PGs we create a pool with. If the user wants more than this then we do subsequent splits. Default to 1024, so that pool creation works in the usual way for most users, but does some splitting for very large pools/clusters. Signed-off-by: Sage Weil --- src/common/options.cc | 7 ++++++- src/mon/OSDMonitor.cc | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index 938a942724481..595497fc4269f 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1261,7 +1261,12 @@ std::vector