From: Yehuda Sadeh Date: Wed, 13 Mar 2024 23:11:50 +0000 (-0400) Subject: objecter: configurable for localized and balanced reads X-Git-Tag: testing/wip-hyelloji-testing-20250127.141229~35^2~9 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=abbc9d493955c1b62b5180d768cb59f6425ff4df;p=ceph-ci.git objecter: configurable for localized and balanced reads Signed-off-by: Yehuda Sadeh --- diff --git a/src/common/options/global.yaml.in b/src/common/options/global.yaml.in index 8fb77c956cf..c4a63e31d09 100644 --- a/src/common/options/global.yaml.in +++ b/src/common/options/global.yaml.in @@ -6377,6 +6377,24 @@ options: min: 0 flags: - runtime +- name: rados_replica_read_policy + type: str + level: advanced + desc: read policy for sending read requests to OSD + fmt_desc : | + Policy for determining which OSD will receive read operations. + If set to ``default``, each PG's primary OSD will always be used + for read operations. If set to ``balance``, read operations will + be sent to a randomly selected OSD within the replica set. If set + to ``localize``, read operations will be sent to the closest OSD + as determined by the CRUSH map. + default: default + enum_values: + - default + - balance + - localize + flags: + - runtime # true if LTTng-UST tracepoints should be enabled - name: rados_tracing type: bool diff --git a/src/common/options/rgw.yaml.in b/src/common/options/rgw.yaml.in index ba4969a29b0..0bcf1656d78 100644 --- a/src/common/options/rgw.yaml.in +++ b/src/common/options/rgw.yaml.in @@ -4260,22 +4260,3 @@ options: services: - rgw with_legacy: true -- name: rgw_replica_read_policy - type: str - level: advanced - desc: read policy for sending read requests to OSD - fmt_desc : | - Policy for determining which OSD will receive read operations. - If set to ``default``, each PG's primary OSD will always be used - for read operations. If set to ``balance``, read operations will - be sent to a randomly selected OSD within the replica set. If set - to ``localize``, read operations will be sent to the closest OSD - as determined by the CRUSH map. - default: default - services: - - rgw - enum_values: - - default - - balance - - localize - with_legacy: true