]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix the allocate in bluefs 19118/head
authortangwenjun <tang.wenjun3@zte.com.cn>
Mon, 20 Nov 2017 07:28:29 +0000 (15:28 +0800)
committertangwenjun <tang.wenjun3@zte.com.cn>
Fri, 24 Nov 2017 05:27:42 +0000 (13:27 +0800)
commit8f67e4553ac67ff062f3d9d1187a3bd67f02f020
tree24e137ae438f008d16b64209cab31902b664f957
parentecec65906af60c16fc99f669c1591bb821305a64
os/bluestore: fix the allocate in bluefs

when bluefs succeed to reserve but failed to alloc in db space,

it will cause a assert, just because of the space fragmentation.

in this situation, it could not use slow device space,

and it would happen in stupid or avl allocator.

Signed-off-by: tangwenjun <tang.wenjun3@zte.com.cn>
(cherry picked from commit d4f868ae7b9df723a9f785cbe6caee1f718e5e33)
src/os/bluestore/BlueFS.cc