From 7da45d65be36d36b880cc55c5036e96c24b53f00 Mon Sep 17 00:00:00 2001 From: Qiaowei Ren Date: Thu, 1 Mar 2018 14:38:11 +0800 Subject: remove ceph code This patch removes initial ceph code, due to license issue. Change-Id: I092d44f601cdf34aed92300fe13214925563081c Signed-off-by: Qiaowei Ren --- src/ceph/doc/radosgw/compression.rst | 79 ------------------------------------ 1 file changed, 79 deletions(-) delete mode 100644 src/ceph/doc/radosgw/compression.rst (limited to 'src/ceph/doc/radosgw/compression.rst') diff --git a/src/ceph/doc/radosgw/compression.rst b/src/ceph/doc/radosgw/compression.rst deleted file mode 100644 index 41e535e..0000000 --- a/src/ceph/doc/radosgw/compression.rst +++ /dev/null @@ -1,79 +0,0 @@ -=========== -Compression -=========== - -.. versionadded:: Kraken - -The Ceph Object Gateway supports server-side compression of uploaded objects, -using any of Ceph's existing compression plugins. - - -Configuration -============= - -Compression can be enabled on a Zone's placement target by providing the -``--compression=`` option to the ``radosgw-admin zone placement modify`` -command. - -The compression ``type`` refers to the name of the compression plugin to use -when writing new object data. Each compressed object remembers which plugin -was used, so changing this setting does not hinder the ability to decompress -existing objects, not does it force existing objects to be recompressed. - -This compression setting applies to all new objects uploaded to buckets using -this placement target. Compression can be disabled by setting the ``type`` to -an empty string or ``none``. - -For example:: - - $ radosgw-admin zone placement modify --rgw-zone=default --placement-id=default-placement --compression=zlib - { - ... - "placement_pools": [ - { - "key": "default-placement", - "val": { - "index_pool": "default.rgw.buckets.index", - "data_pool": "default.rgw.buckets.data", - "data_extra_pool": "default.rgw.buckets.non-ec", - "index_type": 0, - "compression": "zlib" - } - } - ], - ... - } - -.. note:: A ``default`` zone is created for you if you have not done any - previous `Multisite Configuration`_. - - -Statistics -========== - -While all existing commands and APIs continue to report object and bucket -sizes based their uncompressed data, compression statistics for a given bucket -are included in its ``bucket stats``:: - - $ radosgw-admin bucket stats --bucket= - { - ... - "usage": { - "rgw.main": { - "size": 1075028, - "size_actual": 1331200, - "size_utilized": 592035, - "size_kb": 1050, - "size_kb_actual": 1300, - "size_kb_utilized": 579, - "num_objects": 104 - } - }, - ... - } - -The ``size_utilized`` and ``size_kb_utilized`` fields represent the total -size of compressed data, in bytes and kilobytes respectively. - - -.. _`Multisite Configuration`: ../multisite -- cgit 1.2.3-korg