From: Sage Weil Date: Tue, 21 May 2013 18:04:09 +0000 (-0700) Subject: ceph-monstore-tool: compact command X-Git-Tag: v0.64~86 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a6569c5f94187cc166c710a1c3b2d8c19f729956;p=ceph.git ceph-monstore-tool: compact command Signed-off-by: Sage Weil --- diff --git a/src/tools/ceph-monstore-tool.cc b/src/tools/ceph-monstore-tool.cc index c1370ab258f2..e0ec38eabba8 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;