]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph_pool: improve pg_autoscaler support
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 30 Sep 2020 09:42:12 +0000 (11:42 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 2 Oct 2020 05:42:40 +0000 (07:42 +0200)
commit740df379b73bf9b75f02f5435efc04906c8d05ed
tree6fff7b567b4a16db311480f62118fc8a8223e0a1
parent787878f0c370bbcd12d80f1e0afd7f6de4046cd4
ceph_pool: improve pg_autoscaler support

This commit modifies how the `pg_autoscaler` feature is handled by the
ceph_pool module.

1/ If a pool has the pg_autoscaler feature enabled, we shouldn't try to
update pg/pgp.
2/ Make it more readable

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
library/ceph_pool.py