]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: add documentation for 'drop cache' and 'get cache stats'
authorMohamad Gebai <mgebai@suse.com>
Thu, 4 Oct 2018 17:07:49 +0000 (13:07 -0400)
committerMohamad Gebai <mgebai@suse.com>
Wed, 10 Oct 2018 15:46:18 +0000 (11:46 -0400)
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
PendingReleaseNotes
doc/rados/operations/control.rst

index eb0e8f34df3edb3e9bb9e118e722c71de1ce24d6..4f5472f1d1edf9864c3c03ef74ec7f46d7f8d14d 100644 (file)
   support. It features less network traffic and disk I/O when performing
   recovery.
 
+* The 'drop cache' OSD command has been added to drop an OSD's caches:
+
+    - ``ceph tell osd.x drop cache``
+
+* The 'get cache stats' OSD command has been added to get an OSD's cache stats:
+
+    - ``ceph tell osd.x get cache stats'
+
 >=13.1.0
 --------
 
index 0e790d4596efa32f7f3f8f4836eb3e75fabdca0a..6ccf9c2793893f2ea978022a4c51d98144b48974 100644 (file)
@@ -276,6 +276,13 @@ concurrently accessing the OSD. ::
 
        ceph tell osd.N bench [TOTAL_DATA_BYTES] [BYTES_PER_WRITE]
 
+To clear an OSD's caches between benchmarking runs, use the 'drop cache' command ::
+
+       ceph tell osd.N drop cache
+
+To get the cache statistics of an OSD, use the 'get cache stats' command ::
+
+       ceph tell osd.N get cache stats
 
 MDS Subsystem
 =============