]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWSI_Notify uses Finisher instead of RGWSI_Finisher
authorCasey Bodley <cbodley@redhat.com>
Fri, 3 Oct 2025 20:07:07 +0000 (16:07 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 21 May 2026 15:32:45 +0000 (11:32 -0400)
commit449b5f4e10d448bdfd76959276db6254d9f839fb
treecaf38b672651971ee8d8af5e73b37b868cab5870
parentf15816473d3ada2b69cdd5062785e92b2fafcac1
rgw: RGWSI_Notify uses Finisher instead of RGWSI_Finisher

RGWSI_Notify is the only user of RGWSI_Finisher, but doesn't "own" it.
this means RGWSI_Notify can't drain/stop the Finisher on shutdown to
guarantee the lifetime of contexts like C_ReinitWatch that it
schedules there

replace the use of RGWSI_Finisher with direct ownership of Finisher, and
drain/stop it at the end of RGWSI_Notify::shutdown()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4aa6ed886be6ca5f1763794e598bc584b303bb64)
src/rgw/driver/rados/rgw_service.cc
src/rgw/services/svc_notify.cc
src/rgw/services/svc_notify.h