]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: drop async cr reference on simple cr completion
authorYehuda Sadeh <yehuda@redhat.com>
Sun, 17 Apr 2016 18:14:39 +0000 (11:14 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 18 Apr 2016 00:03:13 +0000 (17:03 -0700)
commit2a1541809bdb54a461a37c5a695680c28ab6f361
tree2f886902698bf9e20c0793e9f88cbfb3b3c56738
parent0a361d59894ed68c4f9ba5b72176fd132e852639
rgw: drop async cr reference on simple cr completion

Added a new callback for simple cr that is called anyway when done. Then
drop the reference to the async operation there and not at the destructor.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_coroutine.cc
src/rgw/rgw_coroutine.h
src/rgw/rgw_cr_rados.cc
src/rgw/rgw_cr_rados.h