]> 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)
committerNathan Cutler <ncutler@suse.com>
Wed, 26 Jun 2019 15:25:12 +0000 (17:25 +0200)
commit8fcda90d9e1d90250ca213628d6001c0e87e752f
treebf1118e7cb26d105ab13d59013a3c5fe44bb9ea2
parent28bbebbb48e76fa68a28326f001c1e465ed0d726
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)
src/osd/OSDMap.cc
src/osd/OSDMap.h