]> git.apps.os.sepia.ceph.com Git - ceph-ci.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, 17 Oct 2017 15:08:40 +0000 (23:08 +0800)
commit4c7df944c7f28232873ba681eedce72cdb062ea5
treea6c65e4dae495ebe842c4271c57d2ab29ab10515
parentac1e13ce63a6f32ae9ab0db8196c8cc8100d94ed
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>
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