From c8d343d592de92af91c6f9eecb6aab0ebed54657 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 9 Jun 2020 16:49:20 -0700 Subject: [PATCH] mds: add maximum random ephemeral pin percentage This new config is designed to prevent creating too many subtrees from a random ephemeral pinning policy. Signed-off-by: Patrick Donnelly --- src/common/options.cc | 7 +++++++ src/mds/CInode.cc | 3 ++- src/mds/MDCache.cc | 4 ++++ src/mds/MDCache.h | 2 ++ src/mds/MDSRank.cc | 1 + src/mds/Server.cc | 8 ++++++++ 6 files changed, 24 insertions(+), 1 deletion(-) diff --git a/src/common/options.cc b/src/common/options.cc index 5b232c7f88e6..55e4d5539c92 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -8005,6 +8005,13 @@ std::vector