summaryrefslogtreecommitdiffstats
path: root/src/common/mutex_debug.h
diff options
context:
space:
mode:
authorChunmei Liu <chunmei.liu@intel.com>2020-01-18 00:09:10 +0100
committerChunmei Liu <chunmei.liu@intel.com>2020-02-28 04:56:29 +0100
commita54d0a90c06aed1ae26826d7d5317ba13e18c86e (patch)
tree2252e24a03bf28138eadc333b7f1eeab60990001 /src/common/mutex_debug.h
parentMerge pull request #33566 from dzafman/wip-44296 (diff)
downloadceph-a54d0a90c06aed1ae26826d7d5317ba13e18c86e.tar.xz
ceph-a54d0a90c06aed1ae26826d7d5317ba13e18c86e.zip
crimson:common add TOPNSPC namespace for ceph and crimson
some code coexist in crimson seastar environment and posix environment, so add namespace to avoid same function conflict, for example add namespace for CephContext, since the new namespace for classic ceph-osd, need modify all files declare use CephContext by including "common_fwd.h" which defined the namespace for each environment. Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
Diffstat (limited to 'src/common/mutex_debug.h')
-rw-r--r--src/common/mutex_debug.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/mutex_debug.h b/src/common/mutex_debug.h
index 551e284c3ac..4a0c2cbb447 100644
--- a/src/common/mutex_debug.h
+++ b/src/common/mutex_debug.h
@@ -21,14 +21,12 @@
#include <pthread.h>
#include "include/ceph_assert.h"
+#include "include/common_fwd.h"
#include "ceph_time.h"
#include "likely.h"
#include "lockdep.h"
-class CephContext;
-class PerfCounters;
-
namespace ceph {
namespace mutex_debug_detail {