]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: add mon_osd_max_initial_pgs to cap initial pool pgs
authorSage Weil <sage@redhat.com>
Mon, 9 Apr 2018 12:20:05 +0000 (07:20 -0500)
committerSage Weil <sage@redhat.com>
Fri, 7 Sep 2018 17:08:40 +0000 (12:08 -0500)
commit1a08a4126650f0ff82187124a27b0b9efcfc7726
tree3fc1e80c0143efa543c5d70a869ceec80ad8bdd3
parent93928ff0294f02381fa1fd9b49b835e943035196
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 <sage@redhat.com>
src/common/options.cc
src/mon/OSDMonitor.cc