]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/ceph-bluestore-tool: Fix bluefs-bdev-expand command
authorGabriel BenHanokh <benhanokh@gmail.com>
Mon, 20 Dec 2021 16:57:29 +0000 (18:57 +0200)
committerGabriel BenHanokh <benhanokh@gmail.com>
Wed, 12 Jan 2022 16:07:59 +0000 (18:07 +0200)
commita39b1f3cf7bdcb35ad8f9d11ae1bdc9f1300b876
tree55e08c44e1e3f15da183a0d2b5bf31b1fd78c8af
parent966830f651dc6c2abaea20cf5b55a69525c3ec5e
tools/ceph-bluestore-tool: Fix bluefs-bdev-expand command

Update allocation file when we expand-device
Add the expended space to the allocator and then force an update to the allocation file

There is also a new standalone test case for expand

Fixes: https://tracker.ceph.com/issues/53699
Signed-off-by: Gabriel Benhanokh <gbenhano@redhat.com>
qa/standalone/osd/osd-bluefs-volume-ops.sh
src/os/bluestore/BlueStore.cc
src/os/bluestore/bluestore_tool.cc