]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/multisite: use aio_operate for RGWSimpleRadosLockCR/UnlockCR
authorShilpa Jagannath <smanjara@redhat.com>
Mon, 23 Mar 2026 16:38:34 +0000 (16:38 +0000)
committerShilpa Jagannath <smanjara@redhat.com>
Tue, 14 Apr 2026 20:19:45 +0000 (20:19 +0000)
commit573dc5f4aba16790a80989ba252ef17fbcb6e29a
treeb86bf845bb586b80cf2315564879b75efae36efa
parent460da8cfa99f97d8c4c07f2f47c2d88595c8bc7b
rgw/multisite: use aio_operate for  RGWSimpleRadosLockCR/UnlockCR

RGWContinuousLeaseCR renews the sync lock every interval/2
by calling RGWSimpleRadosLockCR, which previously queued an
RGWAsyncLockSystemObj request via async_rados->queue().
At a large scale, when the async thread pool is fully saturated,
the cr thread can block, stalling lock renewal for extended periods
of time, eventually expiring.

Fix this by allowing RGWSimpleRadosLockCR and RGWSimpleRadosUnlockCR
to use aio_operate without having to queue behind other async requests

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
src/rgw/driver/rados/rgw_cr_rados.cc
src/rgw/driver/rados/rgw_cr_rados.h