Skip to content

Commit

Permalink
common/options: update pg log bound descriptions to reflect current code
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Durgin <[email protected]>
  • Loading branch information
jdurgin committed Aug 3, 2020
1 parent 8877270 commit 20363b1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/common/options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3339,7 +3339,7 @@ std::vector<Option> get_global_options() {

Option("osd_target_pg_log_entries_per_osd", Option::TYPE_UINT, Option::LEVEL_DEV)
.set_default(3000 * 100)
.set_description("target number of PG entries total on an OSD")
.set_description("target number of PG entries total on an OSD - limited per pg by the min and max options below")
.add_see_also("osd_max_pg_log_entries")
.add_see_also("osd_min_pg_log_entries"),

Expand All @@ -3348,14 +3348,16 @@ std::vector<Option> get_global_options() {
.set_description("minimum number of entries to maintain in the PG log")
.add_service("osd")
.add_see_also("osd_max_pg_log_entries")
.add_see_also("osd_pg_log_dups_tracked"),
.add_see_also("osd_pg_log_dups_tracked")
.add_see_also("osd_target_pg_log_entries_per_osd"),

Option("osd_max_pg_log_entries", Option::TYPE_UINT, Option::LEVEL_DEV)
.set_default(10000)
.set_description("maximum number of entries to maintain in the PG log when degraded before we trim")
.set_description("maximum number of entries to maintain in the PG log")
.add_service("osd")
.add_see_also("osd_min_pg_log_entries")
.add_see_also("osd_pg_log_dups_tracked"),
.add_see_also("osd_pg_log_dups_tracked")
.add_see_also("osd_target_pg_log_entries_per_osd"),

Option("osd_pg_log_dups_tracked", Option::TYPE_UINT, Option::LEVEL_DEV)
.set_default(3000)
Expand Down

0 comments on commit 20363b1

Please sign in to comment.