]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: lockdep now support unregistering once destructed
authorJason Dillaman <dillaman@redhat.com>
Thu, 30 Apr 2015 17:29:12 +0000 (13:29 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 4 Jun 2015 20:49:51 +0000 (16:49 -0400)
commit7c7df2ce9f837628535d21df61ae4f13d809c4fa
treec10f98057c861a055701d52651962e3a74eb23e9
parent650ad32d74a24d248dd8e19bff1bbd31f0bb224b
common: lockdep now support unregistering once destructed

librbd use of an image hierarchy resulted in lock names being
re-used and incorrectly analyzed.  librbd now uses unique lock
names per instance, but to prevent an unbounded growth of
tracked locks, we now remove lock tracking once a lock is
destructed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/Mutex.cc
src/common/Mutex.h
src/common/RWLock.h
src/common/lockdep.cc
src/common/lockdep.h