From 2815e4d1afb334464252a6f6522d1f6f196e3653 Mon Sep 17 00:00:00 2001 From: John Spray Date: Wed, 28 May 2014 12:21:37 +0100 Subject: [PATCH] doc: Fix cache tier docs The instructions for 'osd tier add' were plain wrong, claiming that the cache mode could be passed as a third argument. Signed-off-by: John Spray --- doc/rados/operations/cache-tiering.rst | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/doc/rados/operations/cache-tiering.rst b/doc/rados/operations/cache-tiering.rst index e733c7e29a4e..dcefdf2ff585 100644 --- a/doc/rados/operations/cache-tiering.rst +++ b/doc/rados/operations/cache-tiering.rst @@ -112,24 +112,23 @@ have the high performance drives while omitting the hosts that don't. See `Placing Different Pools on Different OSDs`_ for details. -In subsequent examples, we will refer to the cache pool as ``hot-storage``. +In subsequent examples, we will refer to the cache pool as ``hot-storage`` and +the backing pool as ``cold-storage``. Creating a Cache Tier ===================== -Setting up a cache tier involves naming a backing storage pool, -a cache pool and the cache mode. :: +Setting up a cache tier involves associating a backing storage pool with +a cache pool :: - ceph osd tier add {storagepool} {cachepool} [writeback|readonly] + ceph osd tier add {storagepool} {cachepool} -To set up a writeback (read/write) cache pool ``hot-storage`` for pool -``cold-storage``, execute the following:: +For example :: - ceph osd tier add cold-storage hot-storage [cache-mode] + ceph osd tier add cold-storage hot-storage -You can specify the cache mode when creating a tier. To set the cache mode -in a subsequent step, execute the following:: +To set the cache mode, execute the following:: ceph osd tier cache-mode {cachepool} {cache-mode} @@ -360,4 +359,4 @@ disable and remove it. .. _Pools - Set Pool Values: ../pools#set-pool-values .. _Placing Different Pools on Different OSDs: ../crush-map/#placing-different-pools-on-different-osds .. _Bloom Filter: http://en.wikipedia.org/wiki/Bloom_filter -.. _CRUSH Maps: ../crush-map \ No newline at end of file +.. _CRUSH Maps: ../crush-map -- 2.47.3