Skip to content

Commit

Permalink
Merge PR ceph#38574 into master
Browse files Browse the repository at this point in the history
* refs/pull/38574/head:
	mds: update defaults for recall configs

Reviewed-by: Jeff Layton <[email protected]>
  • Loading branch information
batrick committed Jan 14, 2021
2 parents bc57344 + 8df2388 commit d7731b7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/common/options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8008,7 +8008,7 @@ std::vector<Option> get_mds_options() {
.set_flag(Option::FLAG_RUNTIME),

Option("mds_cache_trim_threshold", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(64_K)
.set_default(256_K)
.set_description("threshold for number of dentries that can be trimmed")
.set_flag(Option::FLAG_RUNTIME),

Expand Down Expand Up @@ -8057,27 +8057,27 @@ std::vector<Option> get_mds_options() {
.set_description("number of omap keys to read from the SessionMap in one operation"),

Option("mds_recall_max_caps", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(5000)
.set_default(30000)
.set_description("maximum number of caps to recall from client session in single recall")
.set_flag(Option::FLAG_RUNTIME),

Option("mds_recall_max_decay_rate", Option::TYPE_FLOAT, Option::LEVEL_ADVANCED)
.set_default(2.5)
.set_default(1.5)
.set_description("decay rate for throttle on recalled caps on a session")
.set_flag(Option::FLAG_RUNTIME),

Option("mds_recall_max_decay_threshold", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(16_K)
.set_default(128_K)
.set_description("decay threshold for throttle on recalled caps on a session")
.set_flag(Option::FLAG_RUNTIME),

Option("mds_recall_global_max_decay_threshold", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(64_K)
.set_default(128_K)
.set_description("decay threshold for throttle on recalled caps globally")
.set_flag(Option::FLAG_RUNTIME),

Option("mds_recall_warning_threshold", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(32_K)
.set_default(256_K)
.set_description("decay threshold for warning on slow session cap recall")
.set_flag(Option::FLAG_RUNTIME),

Expand Down

0 comments on commit d7731b7

Please sign in to comment.