From: Sridhar Seshasayee Date: Fri, 22 Jan 2021 11:36:59 +0000 (+0530) Subject: osd: Refine implementation that sets built-in profile parameters. X-Git-Tag: v16.2.0~90^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=71e31bb341957f700c84366b7966e1b527307e56;p=ceph.git osd: Refine implementation that sets built-in profile parameters. mclock clients are categorized into client, background_recovery and background_best_effort. Each client category is required to specify the mclock parameters like reservation, weight and limit. Therefore, a simple structure (ClientAllocs) is introduced that encapsulates the mclock parameters and is used to store those parameters for each client category. Other changes: - The "high_client_ops" profile is now set as the default profile instead of the "balanced" profile. - Replace "Stringify" with std::to_string(). Signed-off-by: Sridhar Seshasayee (cherry picked from commit 2c78cfc30a3d6ce3250b3e2129e42466e28c224e) --- diff --git a/src/common/options.cc b/src/common/options.cc index f9c7f5870b13..e67e202f7628 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3080,7 +3080,7 @@ std::vector