]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/mdstypes: include cleanup
authorMax Kellermann <max.kellermann@ionos.com>
Wed, 16 Oct 2024 19:16:08 +0000 (21:16 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Thu, 20 Feb 2025 15:45:12 +0000 (16:45 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/mds/mdstypes.cc
src/mds/mdstypes.h

index f9424eed6dc283af61f0abfb934135ddb11d5757..4958e80c0093b136904c0467d0ee1e71d8be9831 100644 (file)
@@ -4,9 +4,11 @@
 #include "mdstypes.h"
 #include "include/cephfs/types.h"
 #include "MDSContext.h"
+#include "common/ceph_json.h"
 #include "common/Formatter.h"
 #include "common/StackStringStream.h"
 
+#include <iomanip>
 #include <iostream>
 #include <sstream>
 #include <string>
index 742d7b234325eb7f875ecd5901cde342697d383d..c7ee2e7c635e977acd7e6697063f174a479fca8b 100644 (file)
 #include <string>
 #include <string_view>
 
-#include "common/config.h"
-#include "common/Clock.h"
 #include "common/DecayCounter.h"
 #include "common/StackStringStream.h"
 #include "common/entity_name.h"
 
-#include "include/compat.h"
-#include "include/Context.h"
 #include "include/frag.h"
-#include "include/xlist.h"
 #include "include/interval_set.h"
-#include "include/compact_set.h"
 #include "include/fs_types.h"
-#include "include/ceph_fs.h"
 
-#include "inode_backtrace.h"
-
-#include <boost/spirit/include/qi.hpp>
-#include <boost/pool/pool.hpp>
 #include "include/ceph_assert.h"
-#include "common/ceph_json.h"
 #include "include/cephfs/types.h"
 
 #define MDS_PORT_CACHE   0x200
@@ -65,6 +53,8 @@
 
 #define MDS_IS_PRIVATE_INO(i) ((i) < MDS_INO_SYSTEM_BASE && (i) >= MDS_INO_MDSDIR_OFFSET)
 
+class JSONObj;
+
 class mds_role_t {
 public:
   mds_role_t(fs_cluster_id_t fscid_, mds_rank_t rank_)