]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/ceph-bluestore-tool: Fix bluefs-import command 47875/head
authorAdam Kupczyk <akupczyk@redhat.com>
Wed, 15 Dec 2021 11:04:13 +0000 (11:04 +0000)
committerIgor Fedotov <ifedotov@suse.com>
Tue, 30 Aug 2022 14:15:06 +0000 (17:15 +0300)
commita63beb3c561f6bbc073eb8845254d73e06aed477
tree06b8b4233e28dbbcce3aee8c8f950708222e1187
parent1707e5b8a0eda74e36bbc61eb378237125dfb845
os/bluestore/ceph-bluestore-tool: Fix bluefs-import command

Modify bluefs-import command so it can properly initialize allocators.
Without allocators initialized, importing file to bluefs did overwrite some random data,
including first block on device.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
(cherry picked from commit b00a475fb9b1a3b911f362e428af5c63c25ef5af)
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h
src/os/bluestore/bluestore_tool.cc