这里的bluefs_shared_bdev,在有单独DB设备时,它是BDEV_DB,否则是BDEV_SLOW intBlueFS::reclaim_blocks(unsignedid,uint64_twant,PExtentVector*extents){std::unique_lock<std::mutex>l(lock);dout(1)<<__func__<<" bdev "<<id<<" want 0x"<<std::hex<<want<<std::dec<<dendl;assert(id<alloc....
bluefs->get_block_device_size(BlueFS::BDEV_DB) - SUPER_RESERVED); >> if (create): >> bluefs->add_block_extent(bluefs_shared_bdev, start, initial); >> bluefs_extents.insert(start, initial); >> if (create): >> bluefs->add_block_extent(BlueFS::BDEV_WAL, BDEV_LABEL_BLOCK_SIZE, blu...
2020-07-30T21:32:34.927 INFO:tasks.ceph.osd.0.smithi058.stderr:2020-07-30 21:32:34.921 7fd444355700 -1 bluestore(/var/lib/ceph/osd/ceph-0) allocate_bluefs_freespace failed to allocate on 0x3ff80000 min_size 0x400000 > allocated total 0x0 bluefs_shared_alloc_size 0x10000 allocated 0x...