New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crush: update tunable docs. change default profile to jewel. #7964
Conversation
Signed-off-by: Sage Weil <sage@redhat.com>
Over time, we have made (and continue to make) improvements to the | ||
CRUSH algorithm used to calculate the placement of data. In order to | ||
support the change in behavior, we have introduced a series of tunable | ||
options that control whether the legacy or improved variatio of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean "variation"?
9abc231
to
2839fd1
Compare
- break it down by tunable profile - explicitly call out the migration impact for each profile jump. Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Since we do not set this when we set tunables, we should not check it when we report which tunables they have set. For example, a savvy operator on firefly tunables should set straw_calc_version to 1 but we still want the cluster to report that they are on firefly tunables. Signed-off-by: Sage Weil <sage@redhat.com>
2839fd1
to
b323997
Compare
@jecluis @athanatos will review |
Ah, the min check relies on the fact that we've been choosing version names such that newer ones sort higher. lgtm |
This mimics the feature bit enforcement in OSDMap.cc but it does it based on the version string. This is useful when you have CRUSH tunables that aren't mapped to a named profile. Signed-off-by: Sage Weil <sage@redhat.com>
b323997
to
1e4de96
Compare
If they cluster is using very old tunables, as inferred by whether it requires a newer version of CRUSH, issue a health warning. Signed-off-by: Sage Weil <sage@redhat.com>
1e4de96
to
9e83f5b
Compare
crush: update tunable docs. change default profile to jewel Reviewed-by: Samuel Just <sjust@redhat.com>
Make check gitbuilder has been failing since this PR merged (http://gitbuilder.sepia.ceph.com/gitbuilder-ceph-tarball-trusty-amd64-basic/log.cgi?log=203d604d7221ac3bb721a39efff72f2f0dbb1193) — it looks to me like it's just expected output changes as a result of changing the CRUSH defaults, but definitely needs to be updated! |
@gregsfortytwo seems sage has already a PR (#8107) addressing this. |
No description provided.