]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: use small default pg count for CephFS pools
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 9 Oct 2019 17:41:35 +0000 (10:41 -0700)
committerLaura Paduano <lpaduano@suse.com>
Thu, 19 Mar 2020 10:06:36 +0000 (11:06 +0100)
commit04aefcb442c77c1f62b049b812a9e436189878b6
treebca68318d7c6acb68a3795db54b8fd65ea56c871
parentfd608af305745830778d826c8e29a8ecd14d4748
qa: use small default pg count for CephFS pools

The pg count needs to be a power-of-two since
dff5697464edb9931d5dfa08cd4a30f85c1f237e.

Also, mon_pg_warn_min_per_osd is disabled by default now (or set to a
low value in vstart/testing) so there's no need to base the pg count on
this value.

Ideally someday we can remove this so that the default cluster value is
used but we need to keep this for deployments of older versions of Ceph.

Fixes: https://tracker.ceph.com/issues/42228
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit fc88e6c6c55402120a432ea47f05f321ba4c9bb1)
qa/tasks/cephfs/filesystem.py
qa/tasks/cephfs/test_data_scan.py
qa/tasks/cephfs/test_misc.py
qa/tasks/vstart_runner.py