]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: add 'osd crush set-all-straw-buckets-to-straw2'
authorSage Weil <sage@redhat.com>
Sat, 21 Oct 2017 18:03:17 +0000 (13:03 -0500)
committerSage Weil <sage@redhat.com>
Mon, 23 Oct 2017 22:19:25 +0000 (17:19 -0500)
commit89ee508ac51839c3d1f71c5e21443e8f2679c59e
treebec0c85a822a62bba6204267a453c6a3755b7f26
parent94a4ca6c8e4d26465cbefd1492ee05f21b08ff1e
mon/OSDMonitor: add 'osd crush set-all-straw-buckets-to-straw2'

This is a common and recommended step that users should take once they
have clients that support straw2 (hammer!).  Let's make it easy.

This may result in a small amount of data movement, but usually it is
very little.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 928770513cbe3a244095e36dcb41c83c0724cfe9)
src/mon/MonCommands.h
src/mon/OSDMonitor.cc