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: adding new bucket type #3

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open

crush: adding new bucket type #3

wants to merge 32 commits into from

Conversation

gwuiinKim
Copy link
Collaborator

@gwuiinKim gwuiinKim commented Nov 29, 2022

This PR is about adding new bucket types to CRUSH algorithm.
Existing bucket types do not work as expected, so improvements are needed.
In this pull request, we developed two new bucket type named "consthash" and "uniform2".

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

ldm2468 and others added 30 commits November 1, 2022 02:55
fixed crush_make_consthash_bucket
Signed-off-by: Dongmin Lee <[email protected]>
# Conflicts:
#	src/crush/builder.c
#	src/crush/crush.c
#	src/crush/crush.h
#	src/crush/mapper.c
#	src/tools/crushtool.cc
@gwuiinKim gwuiinKim changed the title new bucket (consthash, uniform2) crush: add new bucket type Nov 29, 2022
@gwuiinKim gwuiinKim changed the title crush: add new bucket type crush: adding new bucket type Nov 29, 2022
@myoungwon
Copy link

Thanks for your effort. First of all, I'd suggest that the commits you posted should be re-arranged. Each commit should represent what you did on the component/module basis. For instance, add title such as "src/crush: add journal replay", and then add explanation in the body. There are too many meaningless commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants