]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common: add new config option to defer client eviction
authorDhairya Parmar <dparmar@redhat.com>
Mon, 27 Mar 2023 09:27:44 +0000 (14:57 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Fri, 20 Oct 2023 10:24:25 +0000 (15:54 +0530)
Fixes: https://tracker.ceph.com/issues/58023
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit 22e4bcf286181ef33b8a09bd8a91ffff218e88ab)

src/common/options/mds.yaml.in

index 6eb0702fcdda183ec516ee65d6a2d7c0c9632831..b9a6fe79e39a6bc1c26f1893868a056c40942769 100644 (file)
@@ -1533,4 +1533,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: true
+  services:
+  - mds
+  flags:
   - runtime