From c0d7054ab8b16235931c253bfd7b3dad49dc72ce Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Fri, 9 Jun 2017 15:08:19 -0700 Subject: [PATCH] mon: mgr: move 'osd df' handling to manager Signed-off-by: Greg Farnum (cherry picked from commit c416cb4dc47f1365f80a85f2817820ebc05dd743) --- src/mgr/MgrCommands.h | 3 +++ src/mon/MonCommands.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mgr/MgrCommands.h b/src/mgr/MgrCommands.h index a48aa74b6f383..7df74d730fae5 100644 --- a/src/mgr/MgrCommands.h +++ b/src/mgr/MgrCommands.h @@ -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") diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index 31edf3e165739..0696db16fdc04 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -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 " \ -- 2.39.5