]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: bump mds_log_max_segments for trim buffer 21254/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 4 Apr 2018 23:47:06 +0000 (16:47 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 4 Apr 2018 23:47:06 +0000 (16:47 -0700)
Under create heavy workloads, the MDS will sometimes get behind trimming but
catch up. This avoids unnecessary warnings.

Fixes: http://tracker.ceph.com/issues/23560
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/common/options.cc

index 79b156f75ab110f1c17beaafeadf4667beee6528..4b4b75aef7d3b94218f2abf0a0b81894682fea33 100644 (file)
@@ -6588,7 +6588,7 @@ std::vector<Option> get_mds_options() {
     .set_description("size in bytes of each MDS log segment"),
 
     Option("mds_log_max_segments", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
-    .set_default(30)
+    .set_default(128)
     .set_description("maximum number of segments which may be untrimmed"),
 
     Option("mds_bal_export_pin", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)