]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Give label multiple positions to replicate to
authorAdam Kupczyk <akupczyk@ibm.com>
Tue, 30 Jan 2024 07:01:34 +0000 (07:01 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Mon, 22 Jul 2024 12:28:49 +0000 (12:28 +0000)
commitaed1e686b3e058cc4bd767468f764a272ba601e1
tree23ac2a42cb597105944e3c3cbb419b98a02ede03
parent75b1a22b95963a8f722ecff80756718cbaf01fce
os/bluestore: Give label multiple positions to replicate to

Bdev label for main device can now be present in multiple locations.
The locations of valid labels are memorized and only those locations are used.
This is to preserve from overwriting data, should collision label - object or bluefs occur.

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