]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSDMonitor: remove max_devices and max_osd interdependency
authorJosh Durgin <josh.durgin@inktank.com>
Thu, 8 Nov 2012 02:19:07 +0000 (18:19 -0800)
committerSage Weil <sage@inktank.com>
Sat, 10 Nov 2012 09:42:09 +0000 (01:42 -0800)
commitcd144534e98620015f519c19bfd3f7645907a6b7
tree2a189bd702a9a24755d761a9bf98926d7f480ec5
parentae1f46c3b5f09ce0a6c72e7f6af3c80fa1813b0d
OSDMonitor: remove max_devices and max_osd interdependency

Higher max_osd than max_devices doesn't hurt anything (and is the
normal way to add more osds). Higher max_devices than max_osds are
filtered out of crush results since e541c0f8d871172ec61962372efca943308e5fe,
so they don't matter either.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/mon/OSDMonitor.cc