]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: add 'osd [rm-]pg-remap[-items] ...' commands
authorSage Weil <sage@redhat.com>
Mon, 13 Mar 2017 15:59:07 +0000 (11:59 -0400)
committerSage Weil <sage@redhat.com>
Sat, 25 Mar 2017 18:53:14 +0000 (14:53 -0400)
commita6aa42f793e679272d4f4f2ed53c2b64366f5af6
tree536818e3bc72d778f6eaca4c98f1d48e7e9430dd
parenteebd9a1bc260d0b23f25ea04f01d76eb6cb3f3c5
mon/OSDMonitor: add 'osd [rm-]pg-remap[-items] ...' commands

Add commands to add and remove pg_remap mappings.

Require that a mon config option is set before this is allowed so that
users don't inadvertantly prevent older clients from interacting with the
cluster.

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