]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: refine re-connect implement and init method
authorshangdehao1 <dehao.shang@intel.com>
Fri, 14 Jun 2019 01:15:46 +0000 (09:15 +0800)
committerJason Dillaman <dillaman@redhat.com>
Mon, 24 Jun 2019 21:36:54 +0000 (17:36 -0400)
commit762e57503f74e1393ad9f90133d5f7c5453b43c8
tree47f286b5ada50ae5d7cc8ea72260b2395db3862c
parentc9dc97c4d0440e637157958d41a7f996eddcb499
librbd: refine re-connect implement and init method

- add new status to OpenImageRequest, including
  send_parent_cache and handle_parent_cache.
- refine re-connect to remove race condition.
- fixed read error bug

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