]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: take a reference to the cr in async cr workers 8170/head
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 16 Mar 2016 22:34:46 +0000 (15:34 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 16 Mar 2016 22:36:53 +0000 (15:36 -0700)
commit60429c38b9ed5046f2b4af47856f2d290b79e598
tree4177ef85b5001f3b1cd908388d50d25f048f97b4
parent1f741716cc163b44bfe5401a9b356a56f104efc4
rgw: take a reference to the cr in async cr workers

and drop the cr when worker is done. The cr can be cleaned before
worker is done, so we should have it stick around as long as the
worker is alive.

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