mds: improve cap min/max ratio descriptions

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2017-09-28 16:01:00 -07:00
parent ab69d68293
commit dcf97d1735
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB
2 changed files with 4 additions and 4 deletions

View File

@ -617,13 +617,13 @@
``mds min caps per client``
:Description: Set the minimum cache number of client
:Description: Set the minimum number of capabilities a client may hold.
:Type: Integer
:Default: ``100``
``mds max ratio caps per client``
:Description: Set the maximum cache number ratio of client
:Description: Set the maximum ratio of current caps that may be recalled during MDS cache pressure.
:Type: Float
:Default: ``0.8``

View File

@ -5784,11 +5784,11 @@ std::vector<Option> get_mds_options() {
Option("mds_min_caps_per_client", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
.set_default(100)
.set_description("Set the minimum cache number of client"),
.set_description("minimum number of capabilities a client may hold"),
Option("mds_max_ratio_caps_per_client", Option::TYPE_FLOAT, Option::LEVEL_ADVANCED)
.set_default(.8)
.set_description("Set the maximum cache number ratio of client"),
.set_description("maximum ratio of current caps that may be recalled during MDS cache pressure"),
});
}