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

luminous: upmap does not respect osd reweights #18699

Merged
merged 3 commits into from Nov 8, 2017

Conversation

Projects
None yet
3 participants
@shinobu-x
Contributor

shinobu-x commented Nov 3, 2017

Theofilos Mouratidis added some commits Sep 25, 2017

osdmaptool: add --mark-out option
Add a --mark-down <id> option which sets the reweight for a given
osd id to 0.0.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
(cherry picked from commit bd75a78)
test/cli/osdmaptool: test upmap with an out osd
Test upmap with one osd marked out.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
(cherry picked from commit ff9e024)
osd: upmap should respect osd reweights
Modify OSDMap::calc_pg_upmaps to take the osd reweight into account when
computing the size of each OSD.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
Fixes: http://tracker.ceph.com/issues/21538
(cherry picked from commit b8561ce)

@liewegas liewegas added this to the luminous milestone Nov 4, 2017

@liewegas liewegas added the core label Nov 4, 2017

@tchaikov tchaikov merged commit 2e11e66 into ceph:luminous Nov 8, 2017

4 checks passed

Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment