]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: maybe_remove_pg_upmaps -> clean_pg_upmaps
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 1 Jun 2019 07:50:32 +0000 (15:50 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 3 Jun 2019 09:13:50 +0000 (17:13 +0800)
commita37106f0fae4ae2f0696d05b981564ed5170f192
treec229b77eae0ea6f14b919370b570fc0de6f366a8
parent02e5499b350bcd7d9eac98b2072052a9a4a1f535
osd: maybe_remove_pg_upmaps -> clean_pg_upmaps

It should always be the preferred option to kill the unnecessary
or duplicated code, which is good for maintenance.
Also I've noticed there is already a clean_temps helper, so re-naming
maybe_remove_pg_upmaps to clean_pg_upmaps to at least keep pace with
that sounds to be a natural choice for me..

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/OSDMonitor.cc
src/osd/OSDMap.cc
src/osd/OSDMap.h
src/test/osd/TestOSDMap.cc