Project

General

Profile

Documentation #35967

[doc] sync documentation "OSD Config Reference" default values with code default values

Added by Tomas Petr over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

for:
http://docs.ceph.com/docs/master/rados/configuration/osd-config-ref/
http://docs.ceph.com/docs/mimic/rados/configuration/osd-config-ref/
http://docs.ceph.com/docs/luminous/rados/configuration/osd-config-ref/

Change following default values to the one used in code:
https://github.com/ceph/ceph/blob/master/src/common/options.cc
- same for all 3 versions above

Option("osd_map_cache_size", Option::TYPE_INT, Option::LEVEL_ADVANCED)
.set_default(50)
.set_description(""),
Option("osd_map_message_max", Option::TYPE_INT, Option::LEVEL_ADVANCED)
.set_default(40)
.set_description(""),
Option("osd_scrub_during_recovery", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
.set_default(false)
.set_description("Allow scrubbing when PGs on the OSD are undergoing recovery"),
Option("osd_op_queue", Option::TYPE_STR, Option::LEVEL_ADVANCED)
.set_default("wpq")

History

#1 Updated by Greg Farnum over 5 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (documentation)

#2 Updated by Anthony D'Atri over 3 years ago

zdover The @options.cc values listed here appear to be current in master, and as with #38429 the mimic and luminous branches won't see another release -- and currently aren't even visible. @zdover23 Two of the four options listed do appear to be different in the Mimic branch, but is there any value in updating them at this late date?

PR for Jewel: https://github.com/ceph/ceph/pull/39054
PR for Luminous: https://github.com/ceph/ceph/pull/40329

#3 Updated by Kefu Chai about 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Anthony D'Atri

Also available in: Atom PDF