]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: limit number of concurrently creating pgs
authorSage Weil <sage@redhat.com>
Thu, 18 May 2017 19:41:39 +0000 (15:41 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:02:44 +0000 (13:02 -0400)
commit1e9c95ac9782d73a194ddde405a4bca1e8fbceb8
tree534be9c0d5706c7d1490ccc00499b419da58550d
parent960a8d6f6d18c464cb89cf3c5e05893a09a1f591
mon/OSDMonitor: limit number of concurrently creating pgs

There is overhead for PGs we are creating because the mon has to track
which OSD each one current maps to.  This can be problematic on a very
large cluster.  Limit the overhead by setting a cap on the number of PGs
we are creating at once; leave the rest in a persistent queue.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h
src/mon/CreatingPGs.h
src/mon/OSDMonitor.cc