From dcf97d17356f59c8870a36a99a77f879a20df348 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 28 Sep 2017 16:01:00 -0700 Subject: [PATCH] mds: improve cap min/max ratio descriptions Signed-off-by: Patrick Donnelly --- doc/cephfs/mds-config-ref.rst | 4 ++-- src/common/options.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/cephfs/mds-config-ref.rst b/doc/cephfs/mds-config-ref.rst index a2c3f9d02c185..b597302764e6b 100644 --- a/doc/cephfs/mds-config-ref.rst +++ b/doc/cephfs/mds-config-ref.rst @@ -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`` diff --git a/src/common/options.cc b/src/common/options.cc index 1d67d286f5465..314b7b5686bef 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5784,11 +5784,11 @@ std::vector