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: v17.1.0~2851^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2c78cfc30a3d6ce3250b3e2129e42466e28c224e;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 --- diff --git a/src/common/options.cc b/src/common/options.cc index 8393c08c87f8..856fd2719ffb 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3081,7 +3081,7 @@ std::vector