]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon,mgr: guard 'osd destroy' with 'osd safe-to-destroy' check
authorSage Weil <sage@redhat.com>
Tue, 26 Jun 2018 12:00:33 +0000 (07:00 -0500)
committerSage Weil <sage@redhat.com>
Wed, 1 Aug 2018 13:12:15 +0000 (08:12 -0500)
commitd2b41d4095074447df247907934626f4287cd91b
treeff1f2bc26e62cf95f0f1876a2d808e80eb6d170a
parent4296c29302faf56bfbc76d5961868f7adb09b292
mon,mgr: guard 'osd destroy' with 'osd safe-to-destroy' check

Rename actual command 'osd destroy-actual', and map 'osd destroy' to the
mgr code so that we first check safe-to-destroy.

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