]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/quota: use intrusive_ptr for RefCountedWaitObject
authorCasey Bodley <cbodley@redhat.com>
Wed, 22 Nov 2023 19:29:23 +0000 (14:29 -0500)
committerCasey Bodley <cbodley@redhat.com>
Thu, 23 Nov 2023 19:47:14 +0000 (14:47 -0500)
commit24de70f59728d4b9b7da1e7aee2975add7a6af1c
treeb55be7e44640927411b019a09aea67e11b957810
parent131d49a9852d2003b605f92308abcd9abc07e441
rgw/quota: use intrusive_ptr for RefCountedWaitObject

instead of relying on async_refresh_response/fail to manage ref counts
manually, just stash an intrusive_ptr in AsyncRefreshHandler for the
duration of the async operation

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/common/RefCountedObj.h
src/rgw/rgw_quota.cc