]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushWrapper: fix finalize clobbering of max_devices
authorSage Weil <sage@redhat.com>
Fri, 12 Jan 2018 23:37:00 +0000 (17:37 -0600)
committerSage Weil <sage@redhat.com>
Tue, 16 Jan 2018 15:55:10 +0000 (09:55 -0600)
commit1e48ee9c592891fcaa5ae82fc53d45231156a62c
tree783c192ac1cbfeb87ef7a7ff0fe4d9606f92d17d
parent443a7f5f7c4fdb6fc8044a52a34e219337416e73
crush/CrushWrapper: fix finalize clobbering of max_devices

This hides device names when they don't appear in the hierarchy,
e.g. after setting a name and class for a new device that hasn't
yet been put in the tree.

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