]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: add region, pdu, pod types while we are at it 841/head
authorSage Weil <sage@inktank.com>
Mon, 2 Dec 2013 16:31:23 +0000 (08:31 -0800)
committerSage Weil <sage@inktank.com>
Mon, 2 Dec 2013 16:31:23 +0000 (08:31 -0800)
commit6298a576d353ee389f5e1176a42990927ea6025c
treeb89c7d4bc54ede618876a31c553bc195947526ae
parent3a6707a183d26dd1305f29e8f4125794984cdcab
osd/OSDMap: add region, pdu, pod types while we are at it

One use noted that they have a 'pdu' type in their type hierarchy that
typically spans multiple racks.  Others are known to use the 'pod'
terminology; add that to.  And I can imagine 'region' above datacenter.

Factor this into a helper to make things a bit less fragile.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSDMap.cc
src/osd/OSDMap.h