]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/lc: replace WorkPool with ceph::async::spawn_throttle
authorCasey Bodley <cbodley@redhat.com>
Thu, 5 Jun 2025 19:53:31 +0000 (15:53 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 21 Oct 2025 13:08:04 +0000 (09:08 -0400)
commitd1f31bcb3da2d049ed01cccd6a448f2662d480ba
tree033250113a08ba1265798e146e1e98ba61697e4e
parentbd20e7bd1de70ba0ee3e11a1bcddfb3e11328b06
rgw/lc: replace WorkPool with ceph::async::spawn_throttle

use spawn_throttle to spawn the work functions as coroutines instead of
passing WorkItems to separate WorkQ threads for processing. the
spawn_throttle concurrency limit uses the same rgw_lc_max_wp_worker
value that previously controlled the number of WorkQ threads

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/common/options/rgw.yaml.in
src/rgw/rgw_lc.cc
src/rgw/rgw_lc.h