]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMapMapping: make ParallelPGMapper can accept input pgs
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 5 Jun 2019 02:41:52 +0000 (10:41 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 26 Jun 2019 15:25:12 +0000 (17:25 +0200)
commit28bbebbb48e76fa68a28326f001c1e465ed0d726
treef349e69f6f7d116523bac9b4748180522867c7f2
parent4974d4268719c4d357c207d71b958dbf63eea428
osd/OSDMapMapping: make ParallelPGMapper can accept input pgs

The existing "prime temp" machinism is a good inspiration
for cluster with a large number of pgs that need to do various
calculations quickly.
I am planning to do the upmap tidy-up work the same way, hence
the need for an alternate way of specifying pgs to process other
than taking directly from the map.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit f6fd4a312e0dda260f2c150334f06b531678ce47)
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/osd/OSDMapMapping.cc
src/osd/OSDMapMapping.h