Merge PR #24929 into master

* refs/pull/24929/head:
	osd: set lower bound+docs on osd_max_write_size

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Sage Weil 2018-11-20 06:50:33 -06:00
commit c872e42657

View File

@ -2111,8 +2111,13 @@ std::vector<Option> get_global_options() {
.set_description(""),
Option("osd_max_write_size", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_min(4)
.set_default(90)
.set_description(""),
.set_description("Maximum size of a RADOS write operation in megabytes")
.set_long_description("This setting prevents clients from doing "
"very large writes to RADOS. If you set this to a value "
"below what clients expect, they will receive an error "
"when attempting to write to the cluster."),
Option("osd_max_pgls", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
.set_default(1024)