]> 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, 10 Mar 2016 13:30:47 +0000 (08:30 -0500)
commit55ad2c7724e114728bb327a97726a6c9b660bb1d
tree2b97eb7b58a2ed1bd2cf7885e09529e506426a78
parentf13cdeaf6657577c21a5bb2985d46971aa084c3f
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>
(cherry picked from commit 651f05b6e6bec41b54c0a8f8ca6641ce3aa5dff3)
src/mon/MonCommands.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h