]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/DBObjectMap : fix recurcive lock in get_keys
authorxinxin shu <xinxin.shu@intel.com>
Wed, 3 Jun 2015 22:51:39 +0000 (06:51 +0800)
committerxinxin shu <xinxin.shu@intel.com>
Sun, 14 Jun 2015 18:45:42 +0000 (02:45 +0800)
commitce5ba43d69dd73f9a28219356a36c1947dc1f64e
tree1d801e2779e97c83a55194d7f1dcf0bc2a73fb59
parent440ef3a2303e49b1e842c3b2fda76bee1e23b299
os/DBObjectMap : fix recurcive lock in get_keys

1. get_keys obtain header lock of oid
2. get iterator with get_iterator(oid), in get_iterator, it also want to get header lock of oid

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
src/os/DBObjectMap.cc