From: Jason Dillaman Date: Thu, 7 May 2015 19:32:27 +0000 (-0400) Subject: librbd: disable lockdep on AioCompletion X-Git-Tag: v9.0.2~46^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=66e74641baeed9aadb7e474d6e6b142b7725722d;p=ceph.git librbd: disable lockdep on AioCompletion 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 --- diff --git a/src/librbd/AioCompletion.h b/src/librbd/AioCompletion.h index 362f0e6be59..4fe53eb80a9 100644 --- a/src/librbd/AioCompletion.h +++ b/src/librbd/AioCompletion.h @@ -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),