]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWAsyncGetSystemObj does not access coroutine memory
authorCasey Bodley <cbodley@redhat.com>
Tue, 4 Sep 2018 20:14:18 +0000 (16:14 -0400)
committerPrashant D <pdhange@redhat.com>
Mon, 24 Sep 2018 00:45:48 +0000 (20:45 -0400)
commit85935f088a1886f982c0510d93bf570f15b8a87a
tree571b9d813e6f9e41429bf35fae0fbd4e0cdf82c7
parent1d238961b3c387fde51779097d8601bfdf166bec
rgw: RGWAsyncGetSystemObj does not access coroutine memory

now reads the buffer/attrs into local memory, and calling coroutines
copy out the result during request_complete()

Fixes: http://tracker.ceph.com/issues/35543
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 089db9f74266073eb1d45900d982f1831c72fe59)

Conflicts:
src/rgw/rgw_cr_rados.h : Resolved in request_complete
src/rgw/rgw_cr_rados.cc
src/rgw/rgw_cr_rados.h