]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Add config option to compact OSD's object store on start 35605/head
authorWido den Hollander <wido@42on.com>
Tue, 16 Jun 2020 19:50:19 +0000 (21:50 +0200)
committerKefu Chai <kchai@redhat.com>
Thu, 16 Jul 2020 09:55:36 +0000 (17:55 +0800)
commit93e4c56ecc13560e0dad69aaa67afc3ca053fb4c
treef4e00920084c27a51bb221efa8019444d775612c
parent8cbf627745308052b2d98303db2eb7526529f648
osd: Add config option to compact OSD's object store on start

By setting this configuration option an OSD will compact it's
store's OMAP on start.

This way admin's can trigger an offline compaction by setting this
configuration value to 'true' and then restarting the OSD.

This is easier than using tools like 'ceph-kvstore-tool' with requires
more manual work on the CLI and might be more difficult for users.

Signed-off-by: Wido den Hollander <wido@42on.com>
PendingReleaseNotes
src/common/options.cc
src/osd/OSD.cc