]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: add max-pg-per-osd limit
authorKefu Chai <kchai@redhat.com>
Tue, 26 Sep 2017 07:54:14 +0000 (15:54 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 7 Nov 2017 11:43:22 +0000 (19:43 +0800)
commitae7823187186310bac117fac437d991398cffd5e
treed1cdc0694f61195dfd30d9f4848766edf7fe8048
parent1db44c5bef752b3a6ce59ea21548b54b77b587d2
osd: add max-pg-per-osd limit

osd will refused to create new pgs, until its pg number is lower
than the max-pg-per-osd upper bound setting.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 4c7df944c7f28232873ba681eedce72cdb062ea5)
doc/rados/configuration/pool-pg-config-ref.rst
qa/suites/rados/singleton/all/max-pg-per-osd.from-mon.yaml [new file with mode: 0644]
qa/suites/rados/singleton/all/max-pg-per-osd.from-primary.yaml [new file with mode: 0644]
qa/suites/rados/singleton/all/max-pg-per-osd.from-replica.yaml [new file with mode: 0644]
qa/tasks/ceph_manager.py
qa/tasks/osd_max_pg_per_osd.py [new file with mode: 0644]
src/common/options.cc
src/osd/OSD.cc
src/osd/OSD.h