]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: osd pool create <pool-name> with --bulk flag
authorKamoltat <ksirivad@redhat.com>
Tue, 7 Dec 2021 21:15:36 +0000 (21:15 +0000)
committerKamoltat <ksirivad@redhat.com>
Mon, 20 Dec 2021 21:46:37 +0000 (21:46 +0000)
commit5f0f967c9337385fcf50548c36b114f809477b58
treed3cd91652832825ecd05e0b4110590f4c2b21a17
parent61de84a5228f922364beecb97277b555016356e6
mon: osd pool create <pool-name> with --bulk flag

Creating the pool with `--bulk` will allow
the pg_autoscaler to use the `scale-down`
mode on.

Creating pool:

`ceph osd pool create <pool-name> --bulk`

Get var:

`ceph osd pool get <pool-name> bulk`

Set var:

`ceph osd pool set <pool-name> bulk=true/false/1/0`

Removed `autoscale_profile` and incorporate bulk flag
into calculating `final_pg_target` for each pool.

bin/ceph osd pool autoscale-status no longer has
`PROFILE` column but has `BULK` instead.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
doc/rados/operations/pools.rst
src/common/options/global.yaml.in
src/mon/KVMonitor.cc
src/mon/MonCommands.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/osd/OSDMap.cc
src/osd/osd_types.h
src/pybind/mgr/pg_autoscaler/module.py