Skip to content
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/CrushTester: check for overlapped rules #7139

Merged
merged 1 commit into from Jan 13, 2016

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Jan 7, 2016

list rules if there are more than one of them can be chosen by the CRUSH
for a given ruleset, pool type and a pool size. this is not entirely a
buggy crush map, but it might be worthy to get the attention of the user
that multiple rules overlap with each other, and only the first one will
be used by the CRUSH.

Signed-off-by: Kefu Chai kchai@redhat.com

@liewegas
Copy link
Member

liewegas commented Jan 7, 2016

should we add a simple test for this? probably test/cli/crushtool/something.t ?

list rules if there are more than one of them can be chosen by the CRUSH
for a given ruleset, pool type and a pool size. this is not entirely a
buggy crush map, but it might be worthy to get the attention of the user
that multiple rules overlap with each other, and only the first one will
be used by the CRUSH.

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov tchaikov force-pushed the wip-check-for-overlapped-rule branch from 5d9bf8f to cf9cd80 Compare January 7, 2016 13:40
@tchaikov
Copy link
Contributor Author

tchaikov commented Jan 7, 2016

@liewegas ahh, forgot to add them, done.

liewegas added a commit that referenced this pull request Jan 13, 2016
crush/CrushTester: check for overlapped rules

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 45127bc into ceph:master Jan 13, 2016
@tchaikov tchaikov deleted the wip-check-for-overlapped-rule branch January 13, 2016 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants