]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
docs: Added noautoscale to docs + release notes 44540/head
authorKamoltat <ksirivad@redhat.com>
Wed, 22 Dec 2021 21:42:52 +0000 (21:42 +0000)
committerKamoltat <ksirivad@redhat.com>
Tue, 25 Jan 2022 20:04:21 +0000 (20:04 +0000)
Updated the docs in
https://docs.ceph.com/en/latest/rados/operations/placement-groups/
and updated the release notes to reflect noautoscale flag.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 9baed0394e03de41f1921693bb33badd1922fa97)

Conflicts:
        PendingReleaseNotes - trivial fix

PendingReleaseNotes
doc/rados/operations/placement-groups.rst

index 12b47c132c4391b2d3016401f0e0c4c560622fa9..eac2563e5ea38a26937cb466972120b9ae92548d 100644 (file)
   in certain recovery scenarios, e.g., monitor database lost and rebuilt, and
   the restored file system is expected to have the same ID as before.
 
->=16.2.7
+>=16.2.8
 --------
+* MGR: The pg_autoscaler can now be turned `on` and `off` globally
+  with the `noautoscale` flag. By default this flag is unset and
+  the default pg_autoscale mode remains the same.
+  For more details, see:
+
+  https://docs.ceph.com/en/latest/rados/operations/placement-groups/
 
+>=16.2.7
+--------
 * Critical bug in OMAP format upgrade is fixed. This could cause data corruption
   (improperly formatted OMAP keys) after pre-Pacific cluster upgrade if
   bluestore-quick-fix-on-mount parameter is set to true or ceph-bluestore-tool's
index d494f430034a41c82623a939065908fd4cbb2a0b..d091075d150c7a3c4dcd4932ae4a7695f63115fb 100644 (file)
@@ -31,6 +31,20 @@ applied to any pools that are created in the future with::
 
   ceph config set global osd_pool_default_pg_autoscale_mode <mode>
 
+You can disable or enable the autoscaler for all pools with
+the ``noautoscale`` flag. By default this flag is set to  be ``off``,
+but you can turn it ``on`` by using the command::
+
+  ceph osd pool set noautoscale
+
+You can turn it ``off`` using the command::
+
+  ceph osd pool unset noautoscale
+
+To ``get`` the value of the flag use the command::
+
+  ceph osd pool get noautoscale
+
 Viewing PG scaling recommendations
 ----------------------------------