From a6569c5f94187cc166c710a1c3b2d8c19f729956 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 21 May 2013 11:04:09 -0700 Subject: [PATCH] ceph-monstore-tool: compact command Signed-off-by: Sage Weil --- src/tools/ceph-monstore-tool.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/ceph-monstore-tool.cc b/src/tools/ceph-monstore-tool.cc index c1370ab258f..e0ec38eabba 100644 --- a/src/tools/ceph-monstore-tool.cc +++ b/src/tools/ceph-monstore-tool.cc @@ -202,6 +202,8 @@ int main(int argc, char **argv) { cout << key.first << " / " << key.second << std::endl; iter->next(); } + } else if (cmd == "compact") { + st.compact(); } else if (cmd == "getosdmap") { if (!store_path.size()) { std::cerr << "need mon store path" << std::endl; -- 2.47.3