]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/MonCommand: add/fix up 'osd [test-]reweight-by-{pg,utilization}'
authorSage Weil <sage@redhat.com>
Wed, 2 Mar 2016 22:33:06 +0000 (17:33 -0500)
committerSage Weil <sage@redhat.com>
Thu, 3 Mar 2016 18:49:06 +0000 (13:49 -0500)
commit1de7e47833f2d14c6915d7d071fe0005408c8da0
tree5930ddf2def5763f3e27cd9608ec71e1a8fc890c
parent5b757eff868dbce2393beadd9fe2522372288cc0
osd/MonCommand: add/fix up 'osd [test-]reweight-by-{pg,utilization}'

- show before/after pg placement stats
- add test- variants that don't do anything
- only allow --no-increasing on the -utilization versions (where
  it won't conflict with the optional pool list and confuse the
  arg parsing)

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