]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados use func reference for rados_set_alloc_hint linking
authorAlfredo Deza <adeza@redhat.com>
Mon, 14 Aug 2017 20:37:07 +0000 (16:37 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 16 Aug 2017 12:19:58 +0000 (08:19 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
doc/rados/configuration/bluestore-config-ref.rst

index 8d8ace653c459b21a14c6a6ef421fcb967cc7f67..ee983464318542186acc999d990048be8220febf 100644 (file)
@@ -182,7 +182,7 @@ operation.  The modes are:
 * **force**: Try to compress data no matter what.
 
 For more information about the *compressible* and *incompressible* IO
-hints, see :doc:`/api/librados/#rados_set_alloc_hint`.
+hints, see :c:func:`rados_set_alloc_hint`.
 
 Note that regardless of the mode, if the size of the data chunk is not
 reduced sufficiently it will not be used and the original
@@ -216,11 +216,12 @@ set with::
 
 :Description: The default policy for using compression if the per-pool property
               ``compression_mode`` is not set. ``none`` means never use
-              compression.  ``passive`` means use compression when
-              `clients hint`_ that data is compressible.  ``aggressive`` means
-              use compression unless clients hint that data is not compressible.
-              ``force`` means use compression under all circumstances even if
-              the clients hint that the data is not compressible.
+              compression. ``passive`` means use compression when
+              :c:func:`clients hint <rados_set_alloc_hint>` that data is
+              compressible.  ``aggressive`` means use compression unless
+              clients hint that data is not compressible.  ``force`` means use
+              compression under all circumstances even if the clients hint that
+              the data is not compressible.
 :Type: String
 :Required: No
 :Valid Settings: ``none``, ``passive``, ``aggressive``, ``force``
@@ -293,5 +294,3 @@ set with::
 :Type: Unsigned Integer
 :Required: No
 :Default: 64K
-
-.. _clients hint: ../../api/librados/#rados_set_alloc_hint