summaryrefslogtreecommitdiffstats
path: root/src/mon/OSDMonitor.cc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2017-08-28 21:45:41 +0200
committerSage Weil <sage@redhat.com>2017-09-06 16:18:03 +0200
commitc4728db34088670b448c9950dce9f13dbd80682f (patch)
tree65fe3524aeb50b5835477547653cde2bc7222727 /src/mon/OSDMonitor.cc
parentmon: add MIMIC mon feature (diff)
downloadceph-c4728db34088670b448c9950dce9f13dbd80682f.tar.xz
ceph-c4728db34088670b448c9950dce9f13dbd80682f.zip
mon/OSDMonitor: drop legacy 'osd df'
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/mon/OSDMonitor.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc
index d8f2514bf96..19b15e8ff0e 100644
--- a/src/mon/OSDMonitor.cc
+++ b/src/mon/OSDMonitor.cc
@@ -3725,12 +3725,6 @@ bool OSDMonitor::preprocess_command(MonOpRequestRef op)
rdata.append(ds);
}
- } else if (prefix == "osd df") {
- string method;
- cmd_getval(g_ceph_context, cmdmap, "output_method", method);
- print_osd_utilization(osdmap, mon->pgservice, ds,
- f.get(), method == "tree");
- rdata.append(ds);
} else if (prefix == "osd getmaxosd") {
if (f) {
f->open_object_section("getmaxosd");