]> git.apps.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)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 5 Jun 2019 02:52:34 +0000 (10:52 +0800)
commitf6fd4a312e0dda260f2c150334f06b531678ce47
tree77b8a2b920a70ab437afea72496c9a090250cd80
parenta37106f0fae4ae2f0696d05b981564ed5170f192
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>
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/osd/OSDMapMapping.cc
src/osd/OSDMapMapping.h