BlueStore is selecting were data is put to the device.
Merging 2 FCM devices together means that BlueStore will see free space
on one of the devices, but not know the other is full and asking to put
data there. It will cause -ENOSPC while free space is reported.
Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit
4f85256062af71bc33554ed5664bb4d6bfd5dfa7)
// determine device name for underlying hardware
std::set<std::string> raw_devices;
get_raw_devices(logdevname, &raw_devices);
+ if (raw_devices.size() > 1) {
+ ceph_abort("Device " + logdevname_a + " consist of "+ raw_devices.size() + " devices: " + raw_devices);
+ }
for (auto& d : raw_devices) {
std::string devpath = "/sys/block/" + d + "/device/";
uint32_t vendor;