From: Mohamad Gebai Date: Thu, 4 Oct 2018 17:07:49 +0000 (-0400) Subject: doc: add documentation for 'drop cache' and 'get cache stats' X-Git-Tag: v14.0.1~56^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fc761f902bcb7a91dcfd888e3911e75aa49dcffa;p=ceph.git doc: add documentation for 'drop cache' and 'get cache stats' Signed-off-by: Mohamad Gebai --- diff --git a/PendingReleaseNotes b/PendingReleaseNotes index eb0e8f34df3e..4f5472f1d1ed 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -50,6 +50,14 @@ 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 -------- diff --git a/doc/rados/operations/control.rst b/doc/rados/operations/control.rst index 0e790d4596ef..6ccf9c279389 100644 --- a/doc/rados/operations/control.rst +++ b/doc/rados/operations/control.rst @@ -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 =============