From 17d6a993fc17d533460c5f40f3908c708e057c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 23 May 2024 18:45:17 +0200 Subject: Merging upstream version 18.2.3. Signed-off-by: Daniel Baumann --- src/common/options/mds.yaml.in | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) (limited to 'src/common/options/mds.yaml.in') diff --git a/src/common/options/mds.yaml.in b/src/common/options/mds.yaml.in index 6eb0702fc..6234b96cd 100644 --- a/src/common/options/mds.yaml.in +++ b/src/common/options/mds.yaml.in @@ -65,15 +65,6 @@ options: - mds flags: - runtime -# max xattr kv pairs size for each dir/file -- name: mds_max_xattr_pairs_size - type: size - level: advanced - desc: maximum aggregate size of extended attributes on a file - default: 64_K - services: - - mds - with_legacy: true - name: mds_cache_trim_interval type: secs level: advanced @@ -1175,6 +1166,24 @@ options: services: - mds with_legacy: true +# Max number of slow ops to track +- name: mds_op_history_slow_op_size + type: uint + level: advanced + desc: maximum size for list of historical slow operations + default: 20 + services: + - mds + with_legacy: true +# Track the op if over this threshold +- name: mds_op_history_slow_op_threshold + type: uint + level: advanced + desc: track the op if over this threshold + default: 10 + services: + - mds + with_legacy: true # how many seconds old makes an op complaint-worthy - name: mds_op_complaint_time type: float @@ -1533,4 +1542,16 @@ options: services: - mds flags: + - runtime +- name: defer_client_eviction_on_laggy_osds + type: bool + level: advanced + desc: Do not evict client if any osd is laggy + long_desc: Laggy OSD(s) can make clients laggy or unresponsive, this can + lead to their eviction, this option once enabled can help defer client + eviction. + default: false + services: + - mds + flags: - runtime -- cgit v1.2.3