From c2b5fff3e43a46cef00530c832fe5f8558df6a01 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Wed, 1 Feb 2023 11:07:01 -0500 Subject: [PATCH] mds: set a reasonable minimum number of segments Signed-off-by: Patrick Donnelly --- src/common/options/mds.yaml.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/options/mds.yaml.in b/src/common/options/mds.yaml.in index 3f12d2df38d..426484a75aa 100644 --- a/src/common/options/mds.yaml.in +++ b/src/common/options/mds.yaml.in @@ -522,6 +522,7 @@ options: level: advanced desc: maximum number of events in an MDS journal segment default: 1024 + min: 1 services: - mds with_legacy: true @@ -541,6 +542,7 @@ options: fmt_desc: The maximum number of segments (objects) in the journal before we initiate trimming. Set to ``-1`` to disable limits. default: 128 + min: 8 services: - mds with_legacy: true -- 2.47.3