X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fcommon%2Foptions%2Fmds.yaml.in;h=6eb0702fcdda183ec516ee65d6a2d7c0c9632831;hb=aee94f6923ba628a85d855d0c5316d0da78bfa2a;hp=eeb895615d6a60e1e3c6e924f274f058b25a24f7;hpb=27f45121cc74e31203777ad565f78d8aad9b92a2;p=ceph.git diff --git a/ceph/src/common/options/mds.yaml.in b/ceph/src/common/options/mds.yaml.in index eeb895615..6eb0702fc 100644 --- a/ceph/src/common/options/mds.yaml.in +++ b/ceph/src/common/options/mds.yaml.in @@ -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 @@ -1524,3 +1524,13 @@ options: - mds flags: - runtime +- name: mds_session_metadata_threshold + type: size + level: advanced + desc: Evict non-advancing client-tid sessions exceeding the config size. + long_desc: Evict clients which are not advancing their request tids which causes a large buildup of session metadata (`completed_requests`) in the MDS causing the MDS to go read-only since the RADOS operation exceeds the size threashold. This config is the maximum size (in bytes) that a session metadata (encoded) can grow. + default: 16_M + services: + - mds + flags: + - runtime