]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: use with_blocking_future in CompoundPeeringRequest
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 25 Feb 2020 08:17:11 +0000 (16:17 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Tue, 25 Feb 2020 08:17:11 +0000 (16:17 +0800)
commit3117d59f08963c8f09dae8fd4b65d0b1951a8daa
tree7495fb4aae00bb4e31d7d357da145bdf05f08964
parentabac0f6c1b8b8945fd4a9acf59116bfc5b437022
crimson/osd: use with_blocking_future in CompoundPeeringRequest

Cleanup. with_blocking_future() can cover all the use cases of
add_blocker() and clear_blocker(), and it is exception-safe and not
error-prone.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/osd/osd_operations/compound_peering_request.cc