]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: add lock to resovle race condition
authorshangdehao1 <dehao.shang@intel.com>
Wed, 12 Jun 2019 21:36:35 +0000 (05:36 +0800)
committerJason Dillaman <dillaman@redhat.com>
Mon, 24 Jun 2019 21:36:54 +0000 (17:36 -0400)
commit5ce52a1cfbf31451c1db3b75da0784f4cadeb2a2
tree4644ac0196edd6a71debd35f98f726be753bff5f
parent38b94ef2f534907e24a850bcd80563b9292dbfb2
librbd: add lock to resovle race condition

possible race condition w/ multiple concurrent attempts to
re-create the cache session

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
src/librbd/cache/ParentCacheObjectDispatch.cc
src/librbd/cache/ParentCacheObjectDispatch.h