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

luminous: tools/ceph-objectstore-tool: split filestore directories offline to target hash level #23418

Merged
merged 1 commit into from
Aug 8, 2018

Conversation

dzafman
Copy link
Contributor

@dzafman dzafman commented Aug 3, 2018

…arget hash level

Currently ceph-objectstore-tool can only split dirs that already
meet the usual object number criteria. It won't reduce the cost of
online split for those dirs that would meet the criteria online.

This change uses 'arg1' option for apply-layout-settings to specify
the target hash level wants to split to. Then dirs will be split
offline no matters how many objects they have. This also helps
those pools that forgot to do pre-splitting at their creation time.

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
(cherry picked from commit e71659b)
@yuriw
Copy link
Contributor

yuriw commented Aug 7, 2018

@dzafman this PR has conflict
git pull https://github.com/dzafman/ceph.git wip-24845
remote: Counting objects: 9, done.
remote: Total 9 (delta 8), reused 8 (delta 8), pack-reused 1
Unpacking objects: 100% (9/9), done.
From https://github.com/dzafman/ceph

  • branch wip-24845 -> FETCH_HEAD
    Auto-merging src/os/filestore/HashIndex.cc
    CONFLICT (content): Merge conflict in src/os/filestore/HashIndex.cc
    Automatic merge failed; fix conflicts and then commit the result.

@yuriw
Copy link
Contributor

yuriw commented Aug 7, 2018

@yuriw yuriw merged commit 038739c into ceph:luminous Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants