]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: change default mds_max_export_size to 20M
authorYan, Zheng <zyan@redhat.com>
Thu, 12 Jul 2018 03:19:05 +0000 (11:19 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 28 Aug 2018 23:12:42 +0000 (07:12 +0800)
1G seems too large. mds may speed long time on processing
imported/expored subtree.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/common/options.cc

index 1ed027c9bebd6938ef37b37eeb1f758bdcc50d00..1c1587e20feae3f87316057dfa1f99653f6bda7a 100644 (file)
@@ -6270,7 +6270,7 @@ std::vector<Option> get_mds_options() {
     .set_description(""),
 
     Option("mds_max_export_size", Option::TYPE_UINT, Option::LEVEL_DEV)
-    .set_default(1_G)
+    .set_default(20_M)
     .set_description(""),
 
     Option("mds_kill_export_at", Option::TYPE_INT, Option::LEVEL_DEV)