]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Fix repair of multilabel when collides with BlueFS 60336/head
authorAdam Kupczyk <akupczyk@ibm.com>
Tue, 15 Oct 2024 12:41:22 +0000 (12:41 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Wed, 16 Oct 2024 08:42:59 +0000 (08:42 +0000)
commit7570b3423b472f109910bc05baf9864180856240
tree8b984bb3abcc62295aea3478d158d0815a837662
parent649e72305bd164928bf08bca9fc1bbb45328d936
os/bluestore: Fix repair of multilabel when collides with BlueFS

The problem was that BDEV_FIRST_LABEL_POSITION was removed from
bdev_label_valid_locations set.
Now, if label at BDEV_FIRST_LABEL_POSITION is valid, it is in the set.

Fixes: https://tracker.ceph.com/issues/68558
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 7343be720870d4a5f82b55beee4685457a003067)
src/os/bluestore/BlueStore.cc