]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rbd/rbd-persistent-write-back-cache: clarify some config settings 41194/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 6 May 2021 09:20:23 +0000 (11:20 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 6 May 2021 09:20:23 +0000 (11:20 +0200)
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
doc/rbd/rbd-persistent-write-back-cache.rst

index 2ac146d5f2b5bdd0ec798133b59742f3a3b85d8f..db91e0697f16834d6b806cf76bedb61c3eb90f5f 100644 (file)
@@ -47,8 +47,8 @@ need to be enabled.::
         rbd persistent cache mode = {cache-mode}
         rbd plugins = pwl_cache
 
-Value of {cache-mode} can be ``rwl`` or ``ssd``. By default it is
-``disabled``
+Value of {cache-mode} can be ``rwl``, ``ssd`` or ``disabled``. By default the
+cache is disabled.
 
 Here are some cache configuration settings:
 
@@ -56,10 +56,12 @@ Here are some cache configuration settings:
   have DAX enabled (see `DAX`_) when using ``rwl`` mode to avoid performance
   degradation.
 
-- ``rbd_persistent_cache_size`` The cache size per image.
+- ``rbd_persistent_cache_size`` The cache size per image. The minimum cache
+  size is 1 GB.
 
 - ``rbd_persistent_cache_log_periodic_stats`` This is a debug option. It is
-  used to emit periodic perf stats to the debug log.
+  used to emit periodic perf stats to the debug log if ``debug rbd pwl`` is
+  set to ``1`` or higher.
 
 The above configurations can be set per-host, per-pool, per-image etc. Eg, to
 set per-host, add the overrides to the appropriate `section`_ in the host's