]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: refactor PGMap updating code for reuse in mgr
authorJohn Spray <john.spray@redhat.com>
Thu, 22 Sep 2016 16:09:22 +0000 (17:09 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 29 Sep 2016 16:27:06 +0000 (17:27 +0100)
commitafa7078763efc053814434d4b0dae08dd2295349
tree91333d7818adaea66bfc4fd2f6a9402301ed34fb
parent58dd3db0be62f67aa51f78357ceabb0979ccf6e1
mon: refactor PGMap updating code for reuse in mgr

...and remove the copypasta from mgr.

mgr still doesn't do all the same logic (it doesn't
have osdmap history handy) but it is now much easier
to see which bits are used one place vs. the other.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/ClusterState.cc
src/mon/PGMap.cc
src/mon/PGMap.h
src/mon/PGMonitor.cc
src/mon/PGMonitor.h
src/osd/OSDMap.h