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 <dillaman@redhat.com>
This commit is contained in:
Jason Dillaman 2015-05-07 15:32:27 -04:00
parent 3ad19ae349
commit 66e74641ba

View 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),