From 17d6a993fc17d533460c5f40f3908c708e057c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 23 May 2024 18:45:17 +0200 Subject: Merging upstream version 18.2.3. Signed-off-by: Daniel Baumann --- src/mds/MDSDaemon.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mds/MDSDaemon.cc') diff --git a/src/mds/MDSDaemon.cc b/src/mds/MDSDaemon.cc index d45acce06..e97fd2cf8 100644 --- a/src/mds/MDSDaemon.cc +++ b/src/mds/MDSDaemon.cc @@ -445,6 +445,12 @@ void MDSDaemon::set_up_admin_socket() asok_hook, "dump inode by inode number"); ceph_assert(r == 0); + r = admin_socket->register_command("dump dir " + "name=path,type=CephString,req=true " + "name=dentry_dump,type=CephBool,req=false", + asok_hook, + "dump directory by path"); + ceph_assert(r == 0); r = admin_socket->register_command("exit", asok_hook, "Terminate this MDS"); -- cgit v1.2.3