]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: split clean_pg_upmaps into smaller helpers
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 1 Jun 2019 11:46:25 +0000 (19:46 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 18 Jun 2019 02:15:41 +0000 (10:15 +0800)
commit2e9502edc644ba8c1d994640bd696d7d43d0ec8e
treeafa88ea4fbd0e1ac5a8fe9e8dcd3bc8073c89746
parent10d9f100ee284087ac78d712023a29e4265e1090
osd/OSDMap: split clean_pg_upmaps into smaller helpers

- it's good to read.
- the updating pending_inc part should be made independent
  since it is going to be racy while running in parallel.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 4d5cf1e4173e5151cc571af571edb2eab0bb46a7)

Conflicts:
slight conflicts with pg-merge
src/osd/OSDMap.cc
src/osd/OSDMap.h