From: Yin Congmin Date: Fri, 25 Dec 2020 16:01:34 +0000 (+0800) Subject: tools: update immutable object cache water mark X-Git-Tag: v16.1.0~113^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F38725%2Fhead;p=ceph.git tools: update immutable object cache water mark Signed-off-by: Yin Congmin --- diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 4d4513e99b38..c4f07b575a65 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -48,6 +48,10 @@ * An AWS-compliant API: "GetTopicAttributes" was added to replace the existing "GetTopic" API. The new API should be used to fetch information about topics used for bucket notifications. +* librbd: The shared, read-only parent cache's config option ``immutable_object_cache_watermark`` now has been updated + to property reflect the upper cache utilization before space is reclaimed. The default ``immutable_object_cache_watermark`` + now is ``0.9``. If the capacity reaches 90% the daemon will delete cold cache. + >=15.0.0 -------- diff --git a/doc/rbd/rbd-persistent-read-only-cache.rst b/doc/rbd/rbd-persistent-read-only-cache.rst index dbaa66035e3d..3b17efb9cec9 100644 --- a/doc/rbd/rbd-persistent-read-only-cache.rst +++ b/doc/rbd/rbd-persistent-read-only-cache.rst @@ -116,8 +116,8 @@ The ``ceph-immutable-object-cache`` daemon is available within the optional .. important:: ``ceph-immutable-object-cache`` daemon requires the ability to connect RADOS clusters. -Run Daemon ----------- +Running the Immutable Object Cache Daemon +----------------------------------------- ``ceph-immutable-object-cache`` daemon should use a unique Ceph user ID. To `create a Ceph user`_, with ``ceph`` specify the ``auth get-or-create`` @@ -137,7 +137,7 @@ The ``ceph-immutable-object-cache`` can also be run in foreground by ``ceph-immu QOS Settings ------------ -Immutable object cache supports throttle, controlled by the following settings. +The immutable object cache supports throttling, controlled by the following settings: ``immutable_object_cache_qos_schedule_tick_min`` diff --git a/src/common/options.cc b/src/common/options.cc index 2dd0e07b8a61..e3ef3bcb3e0c 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7910,7 +7910,7 @@ static std::vector