]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Create conf bluestore_onode_segmentation
authorAdam Kupczyk <akupczyk@ibm.com>
Tue, 11 Feb 2025 06:45:54 +0000 (06:45 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Mon, 31 Mar 2025 07:33:44 +0000 (07:33 +0000)
commit244491ffbd26415c8294b1ebec1de9e0449644c8
treef78671aaf5eea7f518d99939276ea534d91041b1
parent999e204a604c2467535097f412c63eb6c2aa51f0
os/bluestore: Create conf bluestore_onode_segmentation

This debug grade conf selects bluestore_onode_t v2 or v3.
In v2 mode it can read v3 but drops onode_segmentation and pretends
it does not exist. It will act as a version that does not handle v3.
Also it will write onodes in v2 back to DB, clearing segmentation.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
src/common/options/global.yaml.in
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h
src/os/bluestore/bluestore_types.h