]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd,mon: change "mon_max_pg_per_osd" to uint64_t
authorKefu Chai <kchai@redhat.com>
Tue, 17 Oct 2017 04:10:55 +0000 (12:10 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 17 Oct 2017 15:08:41 +0000 (23:08 +0800)
commit0d68197376b6cf48c6679d77ec9f28f279f3da68
treec6f7d92ae1fcaa64e4eb2baecf5741c2de7cdccd
parent4c7df944c7f28232873ba681eedce72cdb062ea5
osd,mon: change "mon_max_pg_per_osd" to uint64_t

as it should never be a negative number. if this option is disabled,
it's 0.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/options.cc
src/mon/OSDMonitor.cc
src/mon/PGMap.cc
src/osd/OSD.cc