]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: enable ephemeral pinning by default
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 7 Mar 2020 03:08:32 +0000 (19:08 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 24 Jun 2020 22:43:32 +0000 (15:43 -0700)
This feature is enabled by default for Pacific. This commit will be
dropped in the backport to Octopus.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/common/options.cc

index 55e4d5539c924e99cd06f0c81e188f0db2d6e224..00a4fe1eb3a211926c0edac0d6fcf0c0dad8169d 100644 (file)
@@ -8000,7 +8000,7 @@ std::vector<Option> get_mds_options() {
     .set_description("allow setting directory export pins to particular ranks"),
 
     Option("mds_export_ephemeral_random", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
-    .set_default(false)
+    .set_default(true)
     .set_flag(Option::FLAG_RUNTIME)
     .set_description("allow ephemeral random pinning of the loaded subtrees")
     .set_long_description("probabilistically pin the loaded directory inode and the subtree beneath it to an MDS based on the consistent hash of the inode number. The higher this value the more likely the loaded subtrees get pinned"),
@@ -8013,7 +8013,7 @@ std::vector<Option> get_mds_options() {
     .add_see_also("mds_export_ephemeral_random"),
 
     Option("mds_export_ephemeral_distributed", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
-    .set_default(false)
+    .set_default(true)
     .set_flag(Option::FLAG_RUNTIME)
     .set_description("allow ephemeral distributed pinning of the loaded subtrees")
     .set_long_description("pin the immediate child directories of the loaded directory inode based on the consistent hash of the child's inode number. "),