]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: disable lockdep on AioCompletion
authorJason Dillaman <dillaman@redhat.com>
Thu, 7 May 2015 19:32:27 +0000 (15:32 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 4 Jun 2015 20:51:01 +0000 (16:51 -0400)
It is only used by clients and it causes a large slowdown
in performance due to the rate at which the lock is constructed/
destructed for each IO request.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AioCompletion.h

index 362f0e6be59675803b6a8f7b7b055658620de58b..4fe53eb80a9475f10949f8a82eda7f5d751e1d8f 100644 (file)
@@ -64,7 +64,7 @@ namespace librbd {
 
     AsyncOperation async_op;
 
-    AioCompletion() : lock(unique_lock_name("AioCompletion::lock", this), true),
+    AioCompletion() : lock("AioCompletion::lock", true, false),
                      done(false), rval(0), complete_cb(NULL),
                      complete_arg(NULL), rbd_comp(NULL),
                      pending_count(0), blockers(1),