]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix fsck fixing multiple bdev label (superblock)
authorAdam Kupczyk <akupczyk@ibm.com>
Mon, 1 Jul 2024 13:44:41 +0000 (13:44 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Mon, 22 Jul 2024 12:36:29 +0000 (12:36 +0000)
commit721482adc0de1371cf92cd4e73255ba170a2a5ac
tree3395ee6cde4a9ea150dd04cd4bbd091612bdaeb6
parent4adb942a6489bdd63199b0036cf6a22bf4880906
os/bluestore: fix fsck fixing multiple bdev label (superblock)

The problem was that after fixing label location,
location was not marked as "good label".
In result the region was not excluded when saving allocator state.
After reading allocator state, label was treated as corrupted.

Fixed fixing bdev label when freelist is bitmap (HDD).

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
src/os/bluestore/BlueStore.cc
src/test/objectstore/store_test.cc