X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fdoc%2Frados%2Foperations%2Fcrush-map-edits.rst;h=36a90208317bf2053eecdd1922854a885b6a2abf;hb=b32b81446b3b05102be0267e79203f59329c1d97;hp=52222703823c9772687e69ab3574275faddda16f;hpb=215dd7151453fae88e6f968c975b6ce309d42dcf;p=ceph.git diff --git a/ceph/doc/rados/operations/crush-map-edits.rst b/ceph/doc/rados/operations/crush-map-edits.rst index 522227038..36a902083 100644 --- a/ceph/doc/rados/operations/crush-map-edits.rst +++ b/ceph/doc/rados/operations/crush-map-edits.rst @@ -18,9 +18,8 @@ To edit an existing CRUSH map: #. `Recompile`_ the CRUSH map. #. `Set the CRUSH map`_. -To activate CRUSH map rules for a specific pool, identify the common ruleset -number for those rules and specify that ruleset number for the pool. See `Set -Pool Values`_ for details. +For details on setting the CRUSH map rule for a specific pool, see `Set +Pool Values`_. .. _Get the CRUSH map: #getcrushmap .. _Decompile: #decompilecrushmap @@ -346,13 +345,12 @@ CRUSH Map Rules --------------- CRUSH maps support the notion of 'CRUSH rules', which are the rules that -determine data placement for a pool. For large clusters, you will likely create -many pools where each pool may have its own CRUSH ruleset and rules. The default -CRUSH map has a rule for each pool, and one ruleset assigned to each of the -default pools. +determine data placement for a pool. The default CRUSH map has a rule for each +pool. For large clusters, you will likely create many pools where each pool may +have its own non-default CRUSH rule. -.. note:: In most cases, you will not need to modify the default rules. When - you create a new pool, its default ruleset is ``0``. +.. note:: In most cases, you will not need to modify the default rule. When + you create a new pool, by default the rule will be set to ``0``. CRUSH rules define placement and replication strategies or distribution policies @@ -380,16 +378,15 @@ A rule takes the following form:: ``ruleset`` -:Description: A means of classifying a rule as belonging to a set of rules. - Activated by `setting the ruleset in a pool`_. +:Description: A unique whole number for identifying the rule. The name ``ruleset`` + is a carry-over from the past, when it was possible to have multiple + CRUSH rules per pool. :Purpose: A component of the rule mask. :Type: Integer :Required: Yes :Default: 0 -.. _setting the ruleset in a pool: ../pools#setpoolvalues - ``type`` @@ -475,8 +472,8 @@ A rule takes the following form:: :Prerequisite: Follows ``step choose``. :Example: ``step emit`` -.. important:: To activate one or more rules with a common ruleset number to a - pool, set the ruleset number of the pool. +.. important:: A given CRUSH rule may be assigned to multiple pools, but it + is not possible for a single pool to have multiple CRUSH rules. Placing Different Pools on Different OSDS: