This does not appear in master because this code was removed with the
allocator fallback behavior, which was not backported.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
98c04c48c318ea15fdcbb331f879d9a962243559)
dout(10) << __func__ << " gifting " << gift
<< " (" << byte_u_t(gift) << ")" << dendl;
- int64_t alloc_len = alloc->allocate(gift, cct->_conf->bluefs_alloc_size,
+ int64_t alloc_len = alloc->allocate(gift,
+ cct->_conf->bluefs_shared_alloc_size,
0, 0, extents);
if (alloc_len <= 0) {