]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: improve cap min/max ratio descriptions
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Sep 2017 23:01:00 +0000 (16:01 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 29 Sep 2017 00:12:44 +0000 (17:12 -0700)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit dcf97d17356f59c8870a36a99a77f879a20df348)

doc/cephfs/mds-config-ref.rst
src/common/options.cc

index 141b90302ee1b9371a0c2b1c0a1d051c63efe371..2fd47ae334f8ae153fc0e0ad8a505afa985b98d5 100644 (file)
 
 ``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``
index 1990e761bf23f23d8cfe6c773f485ccfeaef4019..15b75d989f280c01a1c2722d0bac10f89961faa6 100644 (file)
@@ -5751,11 +5751,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"),
   });
 }