1
0
mirror of https://github.com/ceph/ceph synced 2025-03-22 10:17:23 +00:00

Merge pull request from FrankYu/master

doc: the client inputs the pool name instead of pool ID

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
This commit is contained in:
Sage Weil 2017-09-12 18:36:59 -05:00 committed by GitHub
commit dd84417c61

View File

@ -536,7 +536,7 @@ it calculates a placement group using the object name, a hash code, the
number of PGs in the pool and the pool name. Ceph clients use the following
steps to compute PG IDs.
#. The client inputs the pool ID and the object ID. (e.g., pool = "liverpool"
#. The client inputs the pool name and the object ID. (e.g., pool = "liverpool"
and object-id = "john")
#. Ceph takes the object ID and hashes it.
#. Ceph calculates the hash modulo the number of PGs. (e.g., ``58``) to get