From 0d68197376b6cf48c6679d77ec9f28f279f3da68 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 --- src/common/options.cc | 2 +- src/mon/OSDMonitor.cc | 8 ++++---- src/mon/PGMap.cc | 10 +++++----- src/osd/OSD.cc | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index c0d4b7383ea..61d6b405ee6 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1052,7 +1052,7 @@ std::vector