]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: smooth space balancing a bit 30231/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 7 Sep 2019 02:04:50 +0000 (10:04 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 10 Sep 2019 12:36:49 +0000 (20:36 +0800)
commitad57dc0fde4d3356d66e789cac9e1bfcdc252769
treefc4a2edb0056e400ae5f23ce0df220cbe668e7b9
parentdbcde2daf4403ec285918c4e9535980d912bea7f
os/bluestore: smooth space balancing a bit

For workloads that need to handle tons of small objects,
the space of "slow" could become extremely fragmented,
which makes it is hard to transmit free space between
bluestore and bluefs.

Hard cap alloc size at 1GB at per request, so there is
1024 small allocations at most. Hence we don't block
write ops for long.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueStore.cc