From: Paul Emmerich Date: Fri, 5 Jun 2020 11:54:15 +0000 (+0200) Subject: mds: make threshold for MDS_TRIM configurable X-Git-Tag: v14.2.11~24^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1becb47b4d9414b3aefe6bb38398bc03de5e2c39;p=ceph.git mds: make threshold for MDS_TRIM configurable Fixes: https://tracker.ceph.com/issues/45906 Signed-off-by: Paul Emmerich (cherry picked from commit d905678a87326195c71ce6da16933e671b0d90eb) --- diff --git a/doc/cephfs/health-messages.rst b/doc/cephfs/health-messages.rst index aa93a9d7142d..b096e124c971 100644 --- a/doc/cephfs/health-messages.rst +++ b/doc/cephfs/health-messages.rst @@ -59,8 +59,8 @@ by the setting ``mds_log_max_segments``, and when the number of segments exceeds that setting the MDS starts writing back metadata so that it can remove (trim) the oldest segments. If this writeback is happening too slowly, or a software bug is preventing trimming, then this health -message may appear. The threshold for this message to appear is for the -number of segments to be double ``mds_log_max_segments``. +message may appear. The threshold for this message to appear is controlled by +the config option ``mds_log_warn_factor``, the default is 2.0. Message: "Client *name* failing to respond to capability release" Code: MDS_HEALTH_CLIENT_LATE_RELEASE, MDS_HEALTH_CLIENT_LATE_RELEASE_MANY diff --git a/src/common/options.cc b/src/common/options.cc index 149d14db7c8f..bef638278fe0 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7848,6 +7848,12 @@ std::vector