]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls/rgw: define lc ops in terms of ObjectOperation instead of IoCtx 58448/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 5 Jul 2024 22:36:02 +0000 (18:36 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 23 Jul 2024 12:46:10 +0000 (08:46 -0400)
commit8476a02bed811eb9a1ca751eaed014ca312eef5e
tree75b926ae5516ae3fc92d757037497899b335da75
parent3f11eb905f9201f0a3daf6f15deb1166c877ee12
cls/rgw: define lc ops in terms of ObjectOperation instead of IoCtx

clean up the lc functions that were supposed to be hidden by
CLS_CLIENT_HIDE_IOCTX

this allows rgw to use them asynchonously with rgw_rados_operate() and
optional_yield, and warn about blocking calls that should be async

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/cls/rgw/cls_rgw_client.cc
src/cls/rgw/cls_rgw_client.h
src/rgw/driver/rados/rgw_sal_rados.cc