From baf1374d9e3a3fc08392dda3b525b8df6e2c41b1 Mon Sep 17 00:00:00 2001 From: Kamoltat Date: Mon, 7 Mar 2022 14:52:41 +0000 Subject: [PATCH] doc/rados/operations/placement-groups: fix --bulk commands Some parts of the documents regarding the bulk flag have typos. Command for creating a pool was: `ceph osd create test_pool --bulk` should be: `ceph osd pool create test_pool --bulk` Command for setting bulk value in a pool was: `ceph osd pool set test_pool bulk=` should be: `ceph osd pool set test_pool bulk ` Also removed a bit of trailing white spaces. Changed `complements` to `complement`. https://tracker.ceph.com/issues/54485 Signed-off-by: Kamoltat (cherry picked from commit 4a01fc77985e5cf919b99eca86c4c7e8aae242f0) --- doc/rados/operations/placement-groups.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/rados/operations/placement-groups.rst b/doc/rados/operations/placement-groups.rst index 53ea3c21b5375..76c802bfe50b3 100644 --- a/doc/rados/operations/placement-groups.rst +++ b/doc/rados/operations/placement-groups.rst @@ -139,22 +139,22 @@ to OSDs of class `hdd` will each have optimal PG counts that depend on the number of those respective device types. The autoscaler uses the `bulk` flag to determine which pool -should start out with a full complements of PGs and only -scales down when the the usage ratio across the pool is not even. +should start out with a full complement of PGs and only +scales down when the the usage ratio across the pool is not even. However, if the pool doesn't have the `bulk` flag, the pool will start out with minimal PGs and only when there is more usage in the pool. -The autoscaler identifies any overlapping roots and prevents the pools +The autoscaler identifies any overlapping roots and prevents the pools with such roots from scaling because overlapping roots can cause problems with the scaling process. To create pool with `bulk` flag:: - ceph osd create --bulk + ceph osd pool create --bulk To set/unset `bulk` flag of existing pool:: - ceph osd pool set bulk=true/false/1/0 + ceph osd pool set bulk To get `bulk` flag of existing pool:: -- 2.39.5