]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Fix repair of multilabel when collides with BlueFS 60323/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:21:43 +0000 (08:21 +0000)
commit7343be720870d4a5f82b55beee4685457a003067
tree671d0c44656f6b9742dd249051e5807b4a6278b1
parent8723f17294120bb9731efb024e708f45ac196c83
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/68528
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
src/os/bluestore/BlueStore.cc