]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: add 'osd create [id]' command
authorSage Weil <sage@newdream.net>
Fri, 1 Jul 2011 06:17:39 +0000 (23:17 -0700)
committerSage Weil <sage@newdream.net>
Fri, 1 Jul 2011 06:17:49 +0000 (23:17 -0700)
commit0e6de71580fa583c19af85464535ee1ec9d69973
tree8402e8ee98daf610f0eefa55664521098a1e8572
parentca6d2390837891505ae111b669543fa66c3e89e8
mon: add 'osd create [id]' command

If the id is specified, mark a non-existant osd rank as existant.  The id
must fall within the current [0,max) range.  This is the counterpart of
'osd rm <id>'.

If the id is not specified, allocate an unused osd id and set the EXISTS
flag.  Increase max_osd as needed.

Closes: #1244
Signed-off-by: Sage Weil <sage@newdream.net>
src/mon/OSDMonitor.cc