]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-objectstore-tool: add a way to split filestore directories offline 11252/head
authorJosh Durgin <jdurgin@redhat.com>
Fri, 5 Aug 2016 18:45:00 +0000 (11:45 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Wed, 28 Sep 2016 22:30:30 +0000 (15:30 -0700)
commit3cb0a5e0b0517701ad3b44bdf6d4b60d6a51e8ee
tree4a81cd04e6e9aeaff6a165204e2e9c3516a4bab7
parent4e61538d9f1b372f28e61ad94c368c782be09d92
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>
(cherry picked from commit e7b0428e0e8d8f5459311dc698d94a3ac4f04684)

Conflicts:
src/os/filestore/FileStore.cc
src/tools/ceph_objectstore_tool.cc
(trivial resolution)
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