]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: improve cap min/max ratio descriptions 16036/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Sep 2017 23:01:00 +0000 (16:01 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Sep 2017 23:01:00 +0000 (16:01 -0700)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
doc/cephfs/mds-config-ref.rst
src/common/options.cc

index a2c3f9d02c1852692e7b6666e070303de4eca247..b597302764e6b26d4e02118aea120b2861dc5bef 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 1d67d286f546571e71d0404b5fe5789b23117d95..314b7b5686bef4a8b0882534bf627e173c820630 100644 (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"),
   });
 }