]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: use min_alloc_size for freelist resolution
authorSage Weil <sage@redhat.com>
Fri, 8 Sep 2017 22:08:51 +0000 (18:08 -0400)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 30 Sep 2017 00:41:50 +0000 (08:41 +0800)
commit633b114aca65548b91a898db7bbbef784b76180b
treea1dfa2adb45e9d285532763f1eb741365ad1ec47
parent3decf1c0de9f54b09afc954b13c2c8fac1011de9
os/bluestore: use min_alloc_size for freelist resolution

For HDD with min_alloc_size=64k, this is a 16x reduction in allocation
metadata!

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 6b8e4d512604095fb8a209229d4633ac19b499de)

Conflicts:
Slightly conflict with 834542c4027a8cc4d23eff089827d328919372d2, which
drops the literal description of apply().
src/os/bluestore/BlueStore.cc