]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: prevent reallocation and corruption when shared_blob key is missing... 69085/head
authordheart <dheart_joe@163.com>
Tue, 9 Jun 2026 13:27:14 +0000 (21:27 +0800)
committerdheart <dheart_joe@163.com>
Tue, 9 Jun 2026 13:27:14 +0000 (21:27 +0800)
commit98efc9c5f64511399f635b490d709c80078c5ad1
tree34b7cb3668f0509dad5f591028a89ed092ded00e
parent7d55b7abb30980b25d551ceb842e574c71803b0e
os/bluestore: prevent reallocation and corruption when shared_blob key is missing/undecodable

When the shared_blob key is missing or fails to decode,
it is necessary to scan the blob's pextents directly as the sole authoritative source
to verify allocated blocks and prevent double-allocation.

Signed-off-by: dheart <dheart_joe@163.com>
src/os/bluestore/BlueStore.cc
src/test/objectstore/store_test.cc