]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: fix 'osd crush set-device-class' for new osds
authorSage Weil <sage@redhat.com>
Fri, 12 Jan 2018 23:39:18 +0000 (17:39 -0600)
committerSage Weil <sage@redhat.com>
Mon, 12 Feb 2018 17:18:10 +0000 (11:18 -0600)
commit02ec68dc6cbb96fdb963248a7b7b0c13e6ed0490
tree5c1215b614fb680f8bbc11cd39fa97a4e0888850
parent48d050883713c50109806df30ae82900c21c85d5
mon/OSDMonitor: fix 'osd crush set-device-class' for new osds

We should set the max_devices value for a new device.  (Actually,
finalize() will fix this for us on decode, but better to be
pendantic.)

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 6aa7c885e57070c52ccecec1ceca9a53e878d30c)
src/mon/OSDMonitor.cc