]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/gc: mark rgw_gc_max_objs as startup-only 68478/head
authorMatthew N. Heler <matthew.heler@hotmail.com>
Mon, 20 Apr 2026 17:35:41 +0000 (12:35 -0500)
committerMatthew N. Heler <matthew.heler@hotmail.com>
Mon, 20 Apr 2026 17:50:23 +0000 (12:50 -0500)
commitc3e57712272ea6c060ef323f0a86b88eb50f4119
tree0b9e776d4484e222685a2eafaa9d5ed484b73ec7
parent4cdd13f7a0bb23eb93bb974cafa92bda838b2406
rgw/gc: mark rgw_gc_max_objs as startup-only

Raising rgw_gc_max_objs at runtime crashes the GC thread.

Reject runtime changes and size the IOManager vectors from the
stored max_objs.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
src/common/options/rgw.yaml.in
src/rgw/driver/rados/rgw_gc.cc
src/rgw/driver/rados/rgw_gc.h