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

jewel: tools: ceph-objectstore-tool: add a way to split filestore directories offline #11252

Merged
merged 1 commit into from Sep 29, 2016

Conversation

jdurgin
Copy link
Member

@jdurgin jdurgin commented Sep 29, 2016

Use the usual split code, and split each dir that meets the
usual split criteria.

This can be run with lower than usual split settings, to avoid costly
online splits. To make sure the directories are not merged again, use
a load merge threshold (e.g. filestore merge threshold = 1), and
adjust the split multiplier accordingly.

Fixes: http://tracker.ceph.com/issues/17220
Signed-off-by: Josh Durgin jdurgin@redhat.com
(cherry picked from commit e7b0428)

Conflicts:
src/os/filestore/FileStore.cc
src/tools/ceph_objectstore_tool.cc
(trivial resolution)

Use the usual split code, and split each dir that meets the
usual split criteria.

This can be run with lower than usual split settings, to avoid costly
online splits. To make sure the directories are not merged again, use
a load merge threshold (e.g. filestore merge threshold = 1), and
adjust the split multiplier accordingly.

Fixes: http://tracker.ceph.com/issues/17220
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit e7b0428)

Conflicts:
	src/os/filestore/FileStore.cc
	src/tools/ceph_objectstore_tool.cc
(trivial resolution)
@jdurgin
Copy link
Member Author

jdurgin commented Sep 29, 2016

@jdurgin jdurgin merged commit 5246f81 into jewel Sep 29, 2016
@jdurgin jdurgin deleted the wip-offline-split-jewel branch September 29, 2016 22:54
@theanalyst theanalyst changed the title ceph-objectstore-tool: add a way to split filestore directories offline "jewel: tools: ceph-objectstore-tool: add a way to split filestore directories offline" Nov 17, 2016
@theanalyst theanalyst changed the title "jewel: tools: ceph-objectstore-tool: add a way to split filestore directories offline" jewel: tools: ceph-objectstore-tool: add a way to split filestore directories offline Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant