From: Guang Yang Date: Wed, 16 Sep 2015 17:46:41 +0000 (+0000) Subject: doc: update doc for with new pool settings X-Git-Tag: v10.0.0~125^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ef59f7c73763017c9c2daa30074aea371000967c;p=ceph.git doc: update doc for with new pool settings Signed-off-by: Guang Yang yguang@yahoo-inc.com --- diff --git a/doc/rados/operations/pools.rst b/doc/rados/operations/pools.rst index 80b56d4b6d6..86654a54d2a 100644 --- a/doc/rados/operations/pools.rst +++ b/doc/rados/operations/pools.rst @@ -59,9 +59,9 @@ For example:: To create a pool, execute:: ceph osd pool create {pool-name} {pg-num} [{pgp-num}] [replicated] \ - [crush-ruleset-name] + [crush-ruleset-name] [expected-num-objects] ceph osd pool create {pool-name} {pg-num} {pgp-num} erasure \ - [erasure-code-profile] [crush-ruleset-name] + [erasure-code-profile] [crush-ruleset-name] [expected_num_objects] Where: @@ -144,6 +144,16 @@ placement groups for your pool. .. _Placement Groups: ../placement-groups +``[expected-num-objects]`` + +:Description: The expected number of objects for this pool. By setting this value ( + together with a negative **filestore merge threshold**), the PG folder + splitting would happen at the pool creation time, to avoid the latency + impact to do a runtime folder splitting. + +:Type: Integer +:Required: No. +:Default: 0, no splitting at the pool creation time. Set Pool Quotas =============== @@ -422,7 +432,18 @@ You may set values for the following keys: :Type: Integer :Example: ``1800`` 30min +``fast_read`` + +:Description: On Erasure Coding pool, if this flag is turned on, the read request + would issue sub reads to all shards, and wait until it receives enough + shards to decode to serve the client. In the case of jerasure and isa + erasure plugins, once the first K replies return, client's request is + serverd immediately using the data decoded from these replies. This + helps to tradeoff some resources for betterperformance. Currently this + flag is only supported for Erasure Coding pool. +:Type: Boolean +:Defaults: ``0`` Get Pool Values =============== @@ -565,6 +586,18 @@ You may get values for the following keys: :Type: Integer +``fast_read`` + +:Description: On Erasure Coding pool, if this flag is turned on, the read request + would issue sub reads to all shards, and wait until it receives enough + shards to decode to serve the client. In the case of jerasure and isa + erasure plugins, once the first K replies return, client's request is + serverd immediately using the data decoded from these replies. This + helps to tradeoff some resources for betterperformance. Currently this + flag is only supported for Erasure Coding pool. + +:Type: Boolean + Set the Number of Object Replicas =================================