]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Revert "RWLock: don't assign the lockdep id more than once"
authorSage Weil <sage@inktank.com>
Fri, 11 Apr 2014 04:34:51 +0000 (21:34 -0700)
committerSage Weil <sage@inktank.com>
Fri, 11 Apr 2014 04:34:51 +0000 (21:34 -0700)
commitda0d38208b63f4cbc80391be10ecbce13dc16480
tree63a7759067915501a8414b3b418ca1279c10c24c
parent632098f2a665dfb3a03afbdb738f345f1be3a079
Revert "RWLock: don't assign the lockdep id more than once"

This reverts commit 957ac3cbe394473f225ffd2b632461fcdaca99e6.

It's important to assign these for all operations for cases where
g_lockdep isn't yet true when the constructor runs.  This is true
for the HeartbeatMap rwlock, among other things, as that thread
is created during early startup before lockdep is enabled.  All
of the lockdep hooks assume that they can assign ids on the fly
and not tracking them here breaks things.

Conflicts:

src/common/RWLock.h
src/common/RWLock.h