]> git-server-git.apps.pok.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>
Tue, 28 Jul 2015 20:34:22 +0000 (16:34 -0400)
commit2fa35b1c5ca8e33959fff8c84eaa4feca0f67df3
treee7500326aee3ce3e94fa50eaee7893840df8480b
parent7b85c7bfe599644eb29e6b1e03733da4774c2eac
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>
(cherry picked from commit 7c7df2ce9f837628535d21df61ae4f13d809c4fa)
src/common/Mutex.cc
src/common/Mutex.h
src/common/RWLock.h
src/common/lockdep.cc
src/common/lockdep.h