]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: mgr: move 'osd df' handling to manager
authorGreg Farnum <gfarnum@redhat.com>
Fri, 9 Jun 2017 22:08:19 +0000 (15:08 -0700)
committerNathan Cutler <ncutler@suse.com>
Wed, 14 Jun 2017 07:36:42 +0000 (09:36 +0200)
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit c416cb4dc47f1365f80a85f2817820ebc05dd743)

src/mgr/MgrCommands.h
src/mon/MonCommands.h

index a48aa74b6f383f8048de58e1953876b3e4eb7de8..7df74d730fae51496e0aaff2abb863a9dccc462f 100644 (file)
@@ -59,6 +59,9 @@ COMMAND("osd perf", \
         "osd", \
         "r", \
         "cli,rest")
+COMMAND("osd df " \
+       "name=output_method,type=CephChoices,strings=plain|tree,req=false", \
+       "show OSD utilization", "osd", "r", "cli,rest")
 COMMAND("osd blocked-by", \
        "print histogram of which OSDs are blocking their peers", \
        "osd", "r", "cli,rest")
index 31edf3e1657399c5bd654748ca318f53309300b7..0696db16fdc0459524139ab5722796f9030f1801 100644 (file)
@@ -768,9 +768,6 @@ COMMAND("osd pool get-quota " \
 COMMAND("osd utilization",
        "get basic pg distribution stats",
        "osd", "r", "cli,rest")
-COMMAND("osd df " \
-       "name=output_method,type=CephChoices,strings=plain|tree,req=false", \
-       "show OSD utilization", "osd", "r", "cli,rest")
 
 // tiering
 COMMAND("osd tier add " \