]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush: allow an item to be inserted twice
authorSage Weil <sage@inktank.com>
Wed, 20 Mar 2013 13:51:25 +0000 (06:51 -0700)
committerSage Weil <sage@inktank.com>
Thu, 21 Mar 2013 16:57:19 +0000 (09:57 -0700)
commit4e2557a038dc1e8c68993ad8571d74e2eb8ea90a
treea39d675f03e992c028f4d2d4d95408d01998f193
parent14f26745cfbd9eaf528d7f3ad5b72da2b118ebb8
crush: allow an item to be inserted twice

Modify insert_item() to let you add an existing item to a new position
in the map.

Signed-off-by: Sage Weil <sage@inktank.com>
src/crush/CrushWrapper.cc