]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: handle sparse type names 15179/head
authorSage Weil <sage@redhat.com>
Fri, 19 May 2017 16:05:08 +0000 (12:05 -0400)
committerSage Weil <sage@redhat.com>
Fri, 19 May 2017 16:05:08 +0000 (12:05 -0400)
commit6a21da59837ea3b80c1ac2820b03b49e68a1df07
tree32c783fc9352631d5e4d643c23492a228e573d2d
parent9183375b90986c095853d4a63d79660747026dd9
mon/OSDMonitor: handle sparse type names

It's possible a type id isn't defined/used by crush.  Use the max id
instead and skip types without names.

Signed-off-by: Sage Weil <sage@redhat.com>
src/crush/CrushWrapper.h
src/mon/OSDMonitor.cc