]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushWrapper: simplify get_full_location_ordered()
authorSage Weil <sage@inktank.com>
Wed, 30 Oct 2013 16:00:52 +0000 (09:00 -0700)
committerSage Weil <sage@redhat.com>
Sat, 27 Sep 2014 01:09:15 +0000 (18:09 -0700)
commitc1d9d8c5c3c87b59588cbc9632f2563b8a939a0d
tree35e5ddda79b9b39b4740c178f49479163915d395
parentbc8b67bef6309a32361be76cd11fb56b057ea9d2
crush/CrushWrapper: simplify get_full_location_ordered()

Just ascend the hierarchy; it is much less complicated.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 746069ee62c74ecf04ed45988029d5c3382a38d2)
src/crush/CrushWrapper.cc