]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Remove `RGWSI_RADOS` from `RGWSI_MDLog`
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 2 Dec 2022 06:55:47 +0000 (01:55 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 29 Nov 2023 18:15:27 +0000 (13:15 -0500)
commita493b0710a50786ef0374df52831774fe6ca8d51
treeb6978426f4e9deeb04b78c81ae3bd1004c73ec81
parente9c20c81236c10892138cc098fe636eb533cd211
rgw: Remove `RGWSI_RADOS` from `RGWSI_MDLog`

Simply use the RADOS handle and `rgw_rados_ref` directly.

Also move `async_processor` out from `RGWSI_RADOS` and into
`RGWServices_Def`. This is as good a place as it for any, for now, as
it's reachable by everyone who needs it and exists through the
lifetime of the process.

Eventually it's going to go away due to coroutinization, anyway.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
13 files changed:
src/rgw/driver/rados/rgw_data_sync.cc
src/rgw/driver/rados/rgw_period.cc
src/rgw/driver/rados/rgw_rados.cc
src/rgw/driver/rados/rgw_service.cc
src/rgw/driver/rados/rgw_service.h
src/rgw/driver/rados/rgw_trim_bilog.cc
src/rgw/driver/rados/rgw_trim_datalog.cc
src/rgw/driver/rados/rgw_trim_mdlog.cc
src/rgw/rgw_admin.cc
src/rgw/services/svc_mdlog.cc
src/rgw/services/svc_mdlog.h
src/rgw/services/svc_rados.cc
src/rgw/services/svc_rados.h