]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: Make bdev multi label compatible with !bdev->supported_bdev_label()
authorAdam Kupczyk <akupczyk@ibm.com>
Thu, 8 Feb 2024 23:03:36 +0000 (23:03 +0000)
committerPere Diaz Bou <pere-altea@hotmail.com>
Fri, 23 Aug 2024 09:49:24 +0000 (11:49 +0200)
commit316587a42b831bd61fd6fce8a71d5eee9664c975
treee18a90a6e58d0ba1a8a0af8ac4ded5a8b2a82f50
parentb4c08aac9650d3914134fdfff727110aa002bb71
os/bluestore: Make bdev multi label compatible with !bdev->supported_bdev_label()

Some devices (spdk, nvme) claim that they do not support bdev label.
It does not make sense since it just means ability to write [0-4k] on the device.
Regardless, special care is taken of the devices that do not have label written.

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