]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
objecter: configurable for localized and balanced reads
authorYehuda Sadeh <ysadehwe@ibm.com>
Wed, 13 Mar 2024 23:11:50 +0000 (19:11 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 12 Dec 2024 22:04:13 +0000 (17:04 -0500)
Signed-off-by: Yehuda Sadeh <ysadehwe@ibm.com>
src/common/options/global.yaml.in
src/common/options/rgw.yaml.in

index 8fb77c956cf64c7586cf59f1e661f13691944e62..c4a63e31d092c82171bb9a3ea15cd2956a9924c4 100644 (file)
@@ -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
index ba4969a29b0446452b2553c4a55a540d6fbf1b1e..0bcf1656d78c624d4b455c15a4d6cd3fd5a60180 100644 (file)
@@ -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