From 8e3227ad51fa4909a39eb0d05798b48200a03fc5 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 17 Oct 2017 12:10:55 +0800 Subject: [PATCH] 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 (cherry picked from commit 0d68197376b6cf48c6679d77ec9f28f279f3da68) --- src/common/options.cc | 2 +- src/mon/OSDMonitor.cc | 8 ++++---- src/mon/PGMap.cc | 12 ++++++------ src/osd/OSD.cc | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index f0643e100ba86..893fa6356b31e 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1039,7 +1039,7 @@ std::vector