]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: disable lockdep for double lock
authorJohn Spray <john.spray@redhat.com>
Fri, 22 Aug 2014 12:37:46 +0000 (13:37 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:19 +0000 (01:34 +0100)
commit2463be5b7d396746123404d443281c3ed2563eb4
tree4b89d890fa7fb698e8b0998b5e687393b9b8cbea
parent8a0382be7b8cf1e0a678f99283e6107e23552322
osdc/Objecter: disable lockdep for double lock

There is a special case in _recalc_linger_op_target
where we lock two sessions at once to transfer an op
between them.  It is deadlock safe because it's the only
place we lock two at once, and we hold rwlock for write
while we do it.

Signed-off-by: John Spray <john.spray@redhat.com>
src/osdc/Objecter.cc
src/osdc/Objecter.h