diff options
Diffstat (limited to 'src/mds/MDSDaemon.cc')
-rw-r--r-- | src/mds/MDSDaemon.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mds/MDSDaemon.cc b/src/mds/MDSDaemon.cc index b31d9c95220..9bb71756e2d 100644 --- a/src/mds/MDSDaemon.cc +++ b/src/mds/MDSDaemon.cc @@ -304,6 +304,10 @@ void MDSDaemon::set_up_admin_socket() asok_hook, "show recent ops, sorted by op duration"); ceph_assert(r == 0); + r = admin_socket->register_command("dump_export_states", + asok_hook, + "dump export states"); + ceph_assert(r == 0); r = admin_socket->register_command("scrub_path name=path,type=CephString " "name=scrubops,type=CephChoices," "strings=force|recursive|repair,n=N,req=false " @@ -334,6 +338,11 @@ void MDSDaemon::set_up_admin_socket() asok_hook, "Status of scrub operations(s)"); ceph_assert(r == 0); + r = admin_socket->register_command("scrub purge_status " + "name=tag,type=CephString,req=true", + asok_hook, + "Purge status of scrub tag|all"); + ceph_assert(r == 0); r = admin_socket->register_command("tag path name=path,type=CephString" " name=tag,type=CephString", asok_hook, |