]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/FSMap: add logging facility
authorRishabh Dave <ridave@redhat.com>
Mon, 2 Oct 2023 19:47:09 +0000 (01:17 +0530)
committerRishabh Dave <ridave@redhat.com>
Sat, 6 Apr 2024 10:14:16 +0000 (15:44 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit be78b3ea68f75319da05700276630f7f331bbd63)

src/mds/FSMap.cc

index e1c98be1b82e6cb999bf7a3ab168e75b79024fdf..55b87a43b12dd4ab8ea699bf4a117bc71a2aefd3 100644 (file)
@@ -15,7 +15,7 @@
 #include <ostream>
 
 #include "FSMap.h"
-
+#include "common/debug.h"
 #include "common/StackStringStream.h"
 
 #ifdef WITH_SEASTAR
 #include "global/global_context.h"
 #include "mon/health_check.h"
 
+#define dout_context g_ceph_context
+#define dout_subsys ceph_subsys_mds
+#undef dout_prefix
+#define dout_prefix *_dout << "FSMap "
+
 using std::list;
 using std::pair;
 using std::ostream;