From: Cory Snyder Date: Fri, 4 Nov 2022 08:04:32 +0000 (+0000) Subject: rgw: add configurable max aio limit for multi-object delete requests X-Git-Tag: v16.2.13~36^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=666e6013275b0f0d4788b717bb116a2fb68a6bd2;p=ceph.git rgw: add configurable max aio limit for multi-object delete requests Adds the 'rgw_multi_obj_del_max_aio' configuration parameter to bound aio on multi-object delete requests. Signed-off-by: Cory Snyder (cherry picked from commit 63e41fb8a58717d404b436096079d4fc09f30682) Conflicts: src/common/options/rgw.yaml.in src/rgw/rgw_op.cc Cherry-pick notes: - Conflicts due to change in configuration declaration post-pacfic --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 1301b649eeed..d9a9872784d3 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1264,6 +1264,11 @@ OPTION(rgw_override_bucket_index_max_shards, OPT_U32) */ OPTION(rgw_bucket_index_max_aio, OPT_U32) +/** + * Represents the maximum AIO pending requests for multi object delete requests. + */ +OPTION(rgw_multi_obj_del_max_aio, OPT_U32) + /** * whether or not the quota/gc threads should be started */ diff --git a/src/common/options.cc b/src/common/options.cc index b0239e24aa4d..9fe5a1a5d5f7 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5868,6 +5868,10 @@ std::vector