mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
doc: Fix doc for mds cap acquisition throttle
The config values picks the definition from the description. Removed the duplicate description in the doc. Signed-off-by: Kotresh HR <khiremat@redhat.com>
This commit is contained in:
parent
93c326f949
commit
65b0e45dd7
@ -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
|
caps recall. Each readdir call increments the counter by the number of files in
|
||||||
the result.
|
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
|
.. 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
|
.. confval:: mds_cap_acquisition_throttle_retry_request_timeout
|
||||||
|
|
||||||
If the number of caps acquired by the client per session is greater than the
|
If the number of caps acquired by the client per session is greater than the
|
||||||
|
@ -337,8 +337,7 @@ options:
|
|||||||
level: advanced
|
level: advanced
|
||||||
desc: decay rate for session readdir caps leading to readdir throttle
|
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
|
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
|
by readdir. This is used for throttling readdir requests from clients.
|
||||||
release caps.
|
|
||||||
default: 30
|
default: 30
|
||||||
services:
|
services:
|
||||||
- mds
|
- mds
|
||||||
@ -347,7 +346,7 @@ options:
|
|||||||
- name: mds_session_cap_acquisition_throttle
|
- name: mds_session_cap_acquisition_throttle
|
||||||
type: uint
|
type: uint
|
||||||
level: advanced
|
level: advanced
|
||||||
desc: throttle point for cap acquisition decay counter
|
desc: threshold at which the cap acquisition decay counter throttles
|
||||||
default: 100000
|
default: 100000
|
||||||
services:
|
services:
|
||||||
- mds
|
- mds
|
||||||
|
Loading…
Reference in New Issue
Block a user