]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src/common/lockdep.cc Reduce logging noise if lockdep is not tested 10576/head
authorWillem Jan Withagen <wjw@digiware.nl>
Thu, 4 Aug 2016 21:06:19 +0000 (23:06 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Thu, 4 Aug 2016 21:16:28 +0000 (23:16 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/common/lockdep.cc

index 12165b92c8f86e6def33301c15e364361f8e0e1a..87a4b8c1db8f237f820b3d56d8cd5268cf9e9e5f 100644 (file)
@@ -78,7 +78,7 @@ void lockdep_register_ceph_context(CephContext *cct)
                                "lockdep enabled");
     g_lockdep = true;
     g_lockdep_ceph_ctx = cct;
-    lockdep_dout(0) << "lockdep start" << dendl;
+    lockdep_dout(1) << "lockdep start" << dendl;
     current_maxid = 0;
        last_freed_id = -1;
 
@@ -91,7 +91,7 @@ void lockdep_unregister_ceph_context(CephContext *cct)
 {
   pthread_mutex_lock(&lockdep_mutex);
   if (cct == g_lockdep_ceph_ctx) {
-    lockdep_dout(0) << "lockdep stop" << dendl;
+    lockdep_dout(1) << "lockdep stop" << dendl;
     // this cct is going away; shut it down!
     g_lockdep = false;
     g_lockdep_ceph_ctx = NULL;