]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: frontend reads/writes respect rgw_beast_enable_async
authorCasey Bodley <cbodley@redhat.com>
Wed, 16 Apr 2025 15:18:09 +0000 (11:18 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 16 Apr 2025 16:51:03 +0000 (12:51 -0400)
commit747557da73182fe9d0535af6c2b9ed5c2cccd185
treeeb39f46568ab50899aa26d49013d3d1e2161759a
parent3feb479d3bca488dfbe131f522a3e6dd19df363e
rgw: frontend reads/writes respect rgw_beast_enable_async

rgw_beast_enable_async=0 can be used to run process_request() without a
coroutine context, which can make stack traces easier to view and debug

however, the frontend's reads/writes through ClientIO were still using
the yield_context to suspend/resume. so after ClientIO, the stack traces
came from the coroutine resume instead of process_request()

the beast frontend's ClientIO now issues synchronous reads/writes when
rgw_beast_enable_async is disabled

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_asio_frontend.cc