]> 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, 7 Nov 2017 11:43:22 +0000 (19:43 +0800)
commit8e3227ad51fa4909a39eb0d05798b48200a03fc5
treebcb4aad60d6482490bcf37b1aeceb55a903151e4
parentae7823187186310bac117fac437d991398cffd5e
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>
(cherry picked from commit 0d68197376b6cf48c6679d77ec9f28f279f3da68)
src/common/options.cc
src/mon/OSDMonitor.cc
src/mon/PGMap.cc
src/osd/OSD.cc