]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Fix problem with marking unavailable bdev label positions
authorAdam Kupczyk <akupczyk@ibm.com>
Fri, 2 Feb 2024 15:41:39 +0000 (15:41 +0000)
committerPere Diaz Bou <pere-altea@hotmail.com>
Fri, 23 Aug 2024 09:49:24 +0000 (11:49 +0200)
commitea19a1814b91cff2b969699300237d19b234c264
treeb7617b1ed6f5dd2793f19d608db5a01e8b0848fc
parent8a36e77c8e079c4d743e94c000f70d6bd2f1ed4b
os/bluestore: Fix problem with marking unavailable bdev label positions

It was attempted to mark bdev label locations as taken before adding bluefs allocation on main.
This in turn caused collision when bluefs finally tried to mark regions.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 9ab22a84ccd7dc9348ea317928878e19ff4921f2)
src/os/bluestore/BlueStore.cc