]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
memstore: move collection lock into get_object
authorCasey Bodley <cbodley@redhat.com>
Tue, 18 Aug 2015 20:22:12 +0000 (16:22 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 26 Aug 2015 21:49:46 +0000 (17:49 -0400)
commit79454822d7665dd5ded97dda6b651546f0faf9dc
treefb630889906a11eeb414734119394ede5dd1c366
parent46f92f0d57cdae7c2fb105ac7d07b063e48c80f0
memstore: move collection lock into get_object

only hold the collection lock while accessing the hash/object maps,
don't use it to serialize entire operations

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/os/MemStore.cc
src/os/MemStore.h