]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Fix doc for mds cap acquisition throttle 53024/head
authorKotresh HR <khiremat@redhat.com>
Wed, 16 Aug 2023 06:45:36 +0000 (12:15 +0530)
committerZac Dover <zac.dover@proton.me>
Wed, 16 Aug 2023 12:05:06 +0000 (22:05 +1000)
The config values picks the definition from the
description. Removed the duplicate description
in the doc.

Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 65b0e45dd702fdedcf66f64dd6c5b8ae11df430b)

doc/cephfs/cache-configuration.rst
src/common/options/mds.yaml.in

index 19cf414331984b4fdee56e6daa0c11e7bfca4e66..3fc757005d1ab63085f206633e41ca972a7a7a40 100644 (file)
@@ -154,14 +154,8 @@ readdir. The behavior of the decay counter is the same as for cache trimming or
 caps recall. Each readdir call increments the counter by the number of files in
 the result.
 
-The ratio of ``mds_max_caps_per_client`` that client must exceed before readdir
-maybe throttled by cap acquisition throttle:
-
 .. confval:: mds_session_max_caps_throttle_ratio
 
-The timeout in seconds after which a client request is retried due to cap
-acquisition throttling:
-
 .. confval:: mds_cap_acquisition_throttle_retry_request_timeout
 
 If the number of caps acquired by the client per session is greater than the
index eeb895615d6a60e1e3c6e924f274f058b25a24f7..44a07941f617115132950039de914d636887abc9 100644 (file)
@@ -345,10 +345,10 @@ options:
   type: float
   level: advanced
   desc: decay rate for session readdir caps leading to readdir throttle
-  long_desc: The half-life for the session cap acquisition counter of caps acquired
-    by readdir. This is used for throttling readdir requests from clients slow to
-    release caps.
-  default: 10
+  long_desc: The half-life for the session cap acquisition counter of caps
+    acquired by readdir. This is used for throttling readdir requests from
+    clients.
+  default: 30
   services:
   - mds
   flags:
@@ -356,8 +356,8 @@ options:
 - name: mds_session_cap_acquisition_throttle
   type: uint
   level: advanced
-  desc: throttle point for cap acquisition decay counter
-  default: 500000
+  desc: threshold at which the cap acquisition decay counter throttles
+  default: 100000
   services:
   - mds
 - name: mds_session_max_caps_throttle_ratio