Skip to content

Commit

Permalink
os/bluestore: fix test hack in bluefs gift extents
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Jan 8, 2016
1 parent ece7ef2 commit c3d50c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/os/bluestore/BlueStore.cc
Expand Up @@ -1430,8 +1430,7 @@ int BlueStore::_balance_bluefs_freespace(vector<bluestore_extent_t> *extents)
assert(r == 0);

bluestore_extent_t e;
r = alloc->allocate(MIN(gift, 1ull<<31), min_alloc_size, 0,
&e.offset, &e.length);
r = alloc->allocate(gift, min_alloc_size, 0, &e.offset, &e.length);
if (r < 0) {
assert(0 == "allocate failed, wtf");
return r;
Expand Down

0 comments on commit c3d50c2

Please sign in to comment.