]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-objectstore-tool: add a way to split filestore directories offline 10776/head
authorJosh Durgin <jdurgin@redhat.com>
Fri, 5 Aug 2016 18:45:00 +0000 (11:45 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 9 Sep 2016 15:24:47 +0000 (08:24 -0700)
commite7b0428e0e8d8f5459311dc698d94a3ac4f04684
tree247ad1a719ed88e8a42acdd4e6f513f461a87db0
parente354918ec8da6b6990251d9e07b4eede35ba5778
ceph-objectstore-tool: add a way to split filestore directories offline

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>
src/os/filestore/CollectionIndex.h
src/os/filestore/FileStore.cc
src/os/filestore/FileStore.h
src/os/filestore/HashIndex.cc
src/os/filestore/HashIndex.h
src/tools/ceph_objectstore_tool.cc