]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Only accept bdev labels with our UUID
authorAdam Kupczyk <akupczyk@ibm.com>
Thu, 8 Feb 2024 14:35:29 +0000 (14:35 +0000)
committerPere Diaz Bou <pere-altea@hotmail.com>
Fri, 23 Aug 2024 09:49:24 +0000 (11:49 +0200)
commit0700b9277260840a12013adbcad94b8be22c04b3
tree97913f66161e1b7b9cf94f8e0f65d6c89ae33be6
parenta872a87a2caba1de302599aa8606d12a83ab1a41
os/bluestore: Only accept bdev labels with our UUID

This fixed the problem that some saboteur label of different UUID
with high "epoch" will trick label discovery.

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