From b17f1222f9ea6a84e2315d9d03da793a994f3a4e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 5 Nov 2017 10:44:57 -0600 Subject: [PATCH] osd: wait for pgs to catch up in handle_osd_map Make sure we don't inject maps too far out in front of the PGs ability to consume them. Signed-off-by: Sage Weil --- src/common/options.cc | 5 +++++ src/osd/OSD.cc | 30 ++++++++++++++++++++++++++++++ src/osd/OSD.h | 24 ++++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/src/common/options.cc b/src/common/options.cc index 2b311db7b93..e75f67b08b7 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1911,6 +1911,11 @@ std::vector