]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: drop lock to unregister asok hooks 7581/head
authorJohn Spray <john.spray@redhat.com>
Tue, 9 Feb 2016 12:15:56 +0000 (12:15 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 9 Feb 2016 12:19:14 +0000 (12:19 +0000)
commitf06c4dc1d093c25f70a1465045082440abfcbe3c
treeecc648d635c41e76673bda44921369472167c9f2
parentbe5748a818bbf065ecc7877ad8c2638d30fd2004
osdc/Objecter: drop lock to unregister asok hooks

unregister blocks until any running hook has
completed, and that running hook might
be one that takes the objecter lock, so you
can't hold it while unregistering.

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