they rely on dout.h to do this, but they should not.
Signed-off-by: Kefu Chai <kchai@redhat.com>
#include "PluginRegistry.h"
#include "ceph_ver.h"
+#include "common/ceph_context.h"
#include "common/errno.h"
#include "common/debug.h"
#include "common/histogram.h"
#include "msg/Message.h"
#include "common/RWLock.h"
+#include "common/Thread.h"
#define OPTRACKER_PREALLOC_EVENTS 20
#include "common/dout.h"
#include "common/errno.h"
#include "common/pipe.h"
+#include "common/safe_io.h"
#include "common/Thread.h"
#include "common/version.h"
*
*/
-#include "json_spirit/json_spirit.h"
+#include "common/cmdparse.h"
+#include "common/Formatter.h"
#include "common/debug.h"
-
+#include "common/strtol.h"
+#include "json_spirit/json_spirit.h"
/**
* Given a cmddesc like "foo baz name=bar,type=CephString",
*
*/
+#include "common/common_init.h"
#include "common/admin_socket.h"
#include "common/ceph_argparse.h"
#include "common/ceph_context.h"
-#include "common/common_init.h"
#include "common/config.h"
#include "common/dout.h"
+#include "common/strtol.h"
#include "common/valgrind.h"
#include "common/zipkin_trace.h"
*
*/
#include "lockdep.h"
+#include "common/ceph_context.h"
#include "common/dout.h"
#include "common/valgrind.h"
#include "include/compat.h"
#include "CrushLocation.h"
#include "CrushWrapper.h"
+#include "common/ceph_context.h"
#include "common/config.h"
#include "include/str_list.h"
#include "common/debug.h"
#include "FSMap.h"
#include <sstream>
-using std::stringstream;
-
+#include "common/config_proxy.h"
+#include "global/global_context.h"
#include "mon/health_check.h"
+using std::stringstream;
void Filesystem::dump(Formatter *f) const
{
#include "include/Context.h"
#include "include/elist.h"
+#include "include/spinlock.h"
#include "common/ceph_time.h"
class MDSRank;
#include "msg/Message.h"
#include "MOSDOp.h"
-#include "os/ObjectStore.h"
#include "common/errno.h"
/*
#include "MOSDFastDispatchOp.h"
-#include "os/ObjectStore.h"
-
/*
* OSD Client Subop reply
*
#include "common/errno.h"
#include "common/Formatter.h"
#include "common/TextTable.h"
+#include "global/global_context.h"
#include "include/ceph_features.h"
#include "include/str_map.h"
#include "common/RefCountedObj.h"
#include "common/Mutex.h"
+#include "global/global_context.h"
#include "include/spinlock.h"
#include "OSDCap.h"
#include "Watch.h"
extern "C" {
#include "crush/hash.h"
}
-#include "PG.h"
#include "OSDMap.h"
-#include "PGBackend.h"
const char *ceph_osd_flag_name(unsigned flag)
{