]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: make max_osds an optional arg
authorSage Weil <sage@redhat.com>
Thu, 3 Mar 2016 18:46:12 +0000 (13:46 -0500)
committerSage Weil <sage@redhat.com>
Thu, 3 Mar 2016 18:49:06 +0000 (13:49 -0500)
commit651f05b6e6bec41b54c0a8f8ca6641ce3aa5dff3
treea8e722b38b8fa571cb1320def98daaacefdbc79b
parent8a9429d85bc99874dc9871b43b2d0c7ad1086803
mon: make max_osds an optional arg

We keep the config option with the default (4), but let you
specify the max # of osds to reweight as a third optional arg.

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