]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson: complete context delete in alien world
authorChunmei Liu <chunmei.liu@intel.com>
Fri, 28 Feb 2020 01:50:15 +0000 (17:50 -0800)
committerChunmei Liu <chunmei.liu@intel.com>
Fri, 28 Feb 2020 04:00:47 +0000 (20:00 -0800)
commit5c90bafd731c5a5063bb6fef4bded322282c2cb8
treeec8ba358675c8f6bca2db6d6aee6cdac9d3f3166
parentb15524076d7d7ca72eac09af9b216effa44bddd6
crimson: complete context delete in alien world

This way, we allocate and release only the OnCommit Context on the bluestore
side.  Similarly, the crimson_wrapper context containing the passed in
contexts is allocated and released only on the crimson side.

Further, update do_transaction to also call on_applied and on_applied_sync
for completeness.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/alienstore/alien_store.cc
src/crimson/os/cyanstore/cyan_store.cc
src/include/Context.h
src/os/Transaction.h