Skip to content

Commit d1f31bc

Browse files
committed
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 <[email protected]>
1 parent bd20e7b commit d1f31bc

File tree

3 files changed

+66
-214
lines changed

3 files changed

+66
-214
lines changed

src/common/options/rgw.yaml.in

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -450,16 +450,6 @@ options:
450450
services:
451451
- rgw
452452
with_legacy: true
453-
- name: rgw_lc_wp_worker_max_aio
454-
type: int
455-
level: advanced
456-
desc: Max number of concurrent lifecycle handlings per workpool thread.
457-
default: 1
458-
services:
459-
- rgw
460-
min: 1
461-
max: 128
462-
with_legacy: true
463453
- name: rgw_lc_max_objs
464454
type: int
465455
level: advanced

0 commit comments

Comments
 (0)