]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWCoroutine::set_sleeping() checks for null stack 46007/head
authorOr Friedmann <ofriedma@redhat.com>
Tue, 19 Apr 2022 12:00:28 +0000 (12:00 +0000)
committerCasey Bodley <cbodley@redhat.com>
Mon, 25 Apr 2022 20:18:26 +0000 (16:18 -0400)
commit3f0f831d66c7d43c9872f5de2aceb68aef4004d8
treeba7d0c07b648b622f4ea49ee2328d385e5daebc1
parent5720cca2f8d43af1a1666ff7dc4481ec943dfe3d
rgw: RGWCoroutine::set_sleeping() checks for null stack

users of the RGWOmapAppend coroutine don't manage the lifetime of its
underlying coroutine stack, so end up making calls on RGWOmapAppend
after its stack goes away. this null check is a band-aid, and there are
still several other calls in RGWCoroutine that don't check for null
stack

Fixes: https://tracker.ceph.com/issues/49302
Signed-off-by: Or Friedmann <ofriedma@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_coroutine.cc